[Libwebsockets] multithreading

Peiffer Eric eric.peiffer at al-enterprise.com
Thu Nov 21 16:58:22 CET 2019


Hi,

I'm new in libwebsockets. I'm test some code examples, And read the documentation and README files.
My question is very simple:

Is it thread safe to call:

lws_callback_vhost_protocols_vhost(vhost,LWS_CALLBACK_USER,NULL,0);

from another thread that the thread that run lws_service(context)?

Regards,

Eric Peiffer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20191121/1228f3c4/attachment.htm>


More information about the Libwebsockets mailing list