[Libwebsockets] LWS usage in multi-process scenario

Xi Chen leon6827chix at gmail.com
Tue Dec 4 02:46:37 CET 2018


I have a special use case of LWS where multiple application processes (not
threads) share the same H2 connection:
- LWS main thread running in one process
- each app running in its own process (hence isolated address space)

Unlike multi-threading case where address spaces are shared among threads
hence callback function pointers are globally known, it is a question how
to perform callback in my case. Seems IPC mechanism has to be implemented

Is this recommended? Any other approach?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20181203/24136079/attachment.html>

More information about the Libwebsockets mailing list