libuv/include
Saúl Ibarra Corretgé daf8a45d44 win: return IOCP HANDLE in uv_backend_fd
Change the return type from int to uv_os_fd_t so we can return an int on
Unix and a HANDLE on Windows.

Applications can use this to poll the libuv event loop from another
thread as is now possible on Unix.

The test implementation is based on what Electron does:
https://github.com/electron/electron/blob/master/atom/common/node_bindings_win.cc

Refs: https://github.com/libuv/libuv/issues/965
PR-URL: https://github.com/libuv/libuv/pull/1007
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
2016-08-22 09:52:15 +02:00
..
android-ifaddrs.h android: add support of ifaddrs in android 2014-03-16 23:16:25 +01:00
pthread-barrier.h unix: remove 1.x-compat code from fallback barrier 2016-05-18 23:07:24 +02:00
tree.h build: switch to autotools 2013-07-02 01:21:16 +02:00
uv-aix.h aix: improve AIX compatibility 2014-07-22 22:57:24 +02:00
uv-bsd.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-darwin.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-errno.h unix, windows: map EHOSTDOWN errno 2015-02-19 15:38:12 +01:00
uv-linux.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-sunos.h unix, windows: remove unneeded define 2014-05-08 09:08:33 +02:00
uv-threadpool.h unix, windows: use the same threadpool implementation 2014-06-27 14:27:04 +02:00
uv-unix.h unix: fix bug in barrier fallback implementation 2016-04-26 09:35:47 +02:00
uv-version.h Now working on version 2.0.0 2016-05-18 23:06:48 +02:00
uv-win.h win: simplify global loops queue 2016-08-18 12:51:49 +02:00
uv.h win: return IOCP HANDLE in uv_backend_fd 2016-08-22 09:52:15 +02:00