1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/plat/unix
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 illumos: fix build errors and warnings for v3.2-stable on illumos 2019-10-07 10:14:02 +01:00
unix-caps.c permissions: adapt drop permissions plat function to do uid and gid lookup separately 2019-05-02 09:28:25 +01:00
unix-fds.c lws_lookup: fix wsi table when unrelated_to_ulimit 2019-08-01 18:31:11 +01:00
unix-file.c coverity: cleanup 2018-08-14 08:00:30 +08:00
unix-init.c sul: all timed objects use a single pt sul list 2019-08-09 10:12:09 +01:00
unix-misc.c sul: more paranoid casting vs libc header types 2019-10-27 15:46:58 +00:00
unix-pipe.c plat: refactor private headers and split files 2018-06-20 16:41:27 +08:00
unix-plugins.c plugins: remove requirement for libuv on unix 2019-05-02 09:28:16 +01:00
unix-service.c unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 12:35:31 +00:00
unix-sockets.c pmd: split ebufs to track in and out 2019-05-06 07:31:32 +01:00