[Libwebsockets] lws_callback_on_writable() calling thread?
lws at zevv.nl
Tue Jan 28 12:40:11 CET 2020
Quoting Sumit Dubey (2020-01-28 12:24:02)
> Is it possible to call lws_callback_on writable() from a thread other than the one calling lws_service()? I can imagine a race condition between the thread that closes the wsi and the one that calls lws_callback_on writable().
> Thank you.Sumit Dubey
Afaik this is a no-no: lws is strictly single threaded, see
the docs in
More information about the Libwebsockets