1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/event-libs/libuv
Andy Green 9fc6716af4 libuv: fix pt derivation from ptpr in callbacks
The per-pt priv for event libs ended up overallocated at the context,
and pointed-to by a single pointer composed into each pt.  That means
we can't do pointer arithmetic on it any more.

Update a couple of stragglers in libuv event lib to use a pointer in
the pt-priv for the event lib back to the pt instead.

Also in foreign case if we start idle, there may not be anything
happening to trigger the initial idle.  So let each pt start with
its idle active.
2020-09-10 08:19:43 +01:00
..
CMakeLists.txt event libs: default to building as dynamically loaded plugins 2020-08-31 16:51:37 +01:00
libuv.c libuv: fix pt derivation from ptpr in callbacks 2020-09-10 08:19:43 +01:00
private-lib-event-libs-libuv.h libuv: fix pt derivation from ptpr in callbacks 2020-09-10 08:19:43 +01:00