diff options
author | Andy Fiddaman <omnios@citrus-it.co.uk> | 2021-07-20 02:19:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 22:19:24 -0400 |
commit | 5fe597268e4e78dc84e481f57317a573356f63c2 (patch) | |
tree | f9c3c6faab4be3622c6fc5e92ceff2f5afff3cf8 /docs/src | |
parent | 8ea8f124386486af2380127c6885848f9d502a36 (diff) | |
download | libuv-5fe597268e4e78dc84e481f57317a573356f63c2.tar.gz libuv-5fe597268e4e78dc84e481f57317a573356f63c2.zip |
sunos: restore use of event ports
The sunos platform currently covers at least the Solaris and illumos
operating systems. Although these diverged 11 years ago they still share
some common features such as support for event ports.
illumos also has a compatibility wrapper for epoll but this is not
recommended for use over event ports. From the NOTES section of
https://illumos.org/man/5/epoll:
The epoll facility is implemented for purposes of offering
compatibility to and portability of Linux-borne
applications; native applications should continue to prefer
using event ports... In particular, use of epoll in a
multithreaded environment is fraught with peril...
Restore the event ports code so that libuv can continue to be used
on Solaris, and to avoid the problems that come with using epoll()
on illumos. The separation of epoll into src/unix/epoll.c has been
retained.
Fixes: https://github.com/libuv/libuv/issues/3241
PR-URL: https://github.com/libuv/libuv/pull/3242
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions