libuv/src
Ben Noordhuis 67bb2b5f70 linux: fix epoll_pwait() regression with < 2.6.19
Linux before kernel 2.6.19 does not support epoll_pwait().  Due to a
logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF
during poll"), the fallback path for ENOSYS was not taken.

This commit also adds epoll_pwait() emulation using pthread_sigmask().
The block/unblock operations are not atomic but that is fine for our
particular use case, to wit, sleep through SIGPROF signals.

PR-URL: https://github.com/libuv/libuv/pull/162
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-01-24 18:27:44 +01:00
..
unix linux: fix epoll_pwait() regression with < 2.6.19 2015-01-24 18:27:44 +01:00
win unix, win: add synchronous uv_get{addr,name}info 2015-01-23 01:12:05 +01:00
fs-poll.c unix: replace some asserts with returning errors 2014-08-11 18:42:48 +02:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c unix, windows: fix parsing scoped IPv6 addresses 2014-05-25 23:30:46 +02:00
queue.h queue: strengthen type checks 2013-11-02 13:55:57 +01:00
threadpool.c windows: don't use atexit for cleaning up the threadpool 2014-07-28 09:38:57 +02:00
uv-common.c win,unix: move loop functions which have identical implementations 2015-01-20 12:22:28 +01:00
uv-common.h win,unix: move loop functions which have identical implementations 2015-01-20 12:22:28 +01:00
version.c Now working on v0.10.31 2014-12-09 19:49:50 +01:00