libuv/src
Ben Noordhuis b214fe66ef 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.

This is a back-port of commit 67bb2b5 from the v1.x branch.

Original-PR-URL: https://github.com/libuv/libuv/pull/162
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>

PR-URL: https://github.com/libuv/libuv/pull/165
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-01-25 14:59:28 +01:00
..
unix linux: fix epoll_pwait() regression with < 2.6.19 2015-01-25 14:59:28 +01:00
win win: scandir use 'ls' for formatting long strings 2014-12-19 16:59:48 +01:00
fs-poll.c unix, windows: make uv_fs_t.statbuf public 2013-02-10 17:50:03 +01:00
inet.c Revert "inet: allow scope in uv_inet_pton ip6 check" 2014-04-14 15:13:20 +04:00
uv-common.c unix, windows: add uv_loop_configure() function 2014-12-05 17:39:43 +01:00
uv-common.h unix, windows: add uv_loop_configure() function 2014-12-05 17:39:43 +01:00
version.c Now working on v0.10.33 2015-01-05 20:10:50 +01:00