[Libwebsockets] [libwebsockets] Use WSAWaitForMultipleEvents() instead of poll() on Windows (#94)
"Andy Green (林安廸)"
andy at warmcat.com
Sat Mar 29 03:21:41 CET 2014
On 29/03/14 02:45, the mail apparently from Patrick Gansterer included:
> This implements libwebsocket_cancel_service() on Windows too.
> If this branch is landed, I'll do cleanup of the win32helpers folder. The additional work depends heavily on this change.
Thanks, it seems a much nicer implementation for windows than the old
And I guess many pieces of win32helpers get deprecated by this so a
cleanup there will be appreciated.
> You can merge this Pull Request by running:
> git pull https://github.com/paroga/libwebsockets poll
> Or you can view, comment on it, or merge it online at:
> -- Commit Summary --
> * Avoid duplicated code for accessing variables in lws_change_pollfd()
> * Keep a WSAEVENT for every socket on Windows
> * Use WSAWaitForMultipleEvents in libwebsocket_service() on Windows
> * Remove remaining calls to poll() on Windows
> -- File Changes --
> M lib/libwebsockets.c (152)
> M lib/output.c (14)
> M lib/private-libwebsockets.h (9)
> -- Patch Links --
> Reply to this email directly or view it on GitHub:
More information about the Libwebsockets