1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/plat/windows
Andy Green 7fad06e9e0 unix: sul schedule rename internal api and call regardless of existing timeout
Pre-sul, checking for interval to next pending scheduled event was expensive and
iterative, so the service avoided it if the wait was already 0.

With sul though, the internal "check" function also services ripe events and
removes them, and finding the interval to the next one is really cheap.

Rename the "check" function to __lws_sul_service_ripe() to make it clear it's
not just about returning the interval to the next pending one.  And call it
regardless of if we already decided we are not going to wait in the poll.

After https://github.com/warmcat/libwebsockets/pull/1745
2019-11-01 12:35:31 +00:00
..
private.h windows: fix build on VS2017 WIN10 2019-04-02 07:52:39 +08:00
windows-fds.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
windows-file.c libwebsockets.h: clean out some boilerplate better put in core/private.h 2018-08-16 19:10:32 +08:00
windows-init.c Add locking into the cancellation process 2019-06-25 12:08:49 +01:00
windows-misc.c stats: move to pt and improve presentation 2019-08-12 06:18:04 +01:00
windows-pipe.c Add locking into the cancellation process 2019-06-25 12:08:49 +01:00
windows-plugins.c plugins: remove requirement for libuv on unix 2019-05-02 09:28:16 +01:00
windows-service.c unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 12:35:31 +00:00
windows-sockets.c windows: Fix ioctl result check polarity 2019-10-28 13:24:21 +00:00