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> |
||
|---|---|---|
| .. | ||
| src | ||
| make.bat | ||
| Makefile | ||