[Libwebsockets] LWS usage in multi-process scenario
mah at mah.priv.at
Sat Dec 29 19:13:37 CET 2018
I've done something along these lines a while ago, using zeromq
you might want to take a peek here:
> Am 04.12.2018 um 02:46 schrieb Xi Chen <leon6827chix at gmail.com>:
> 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 anyhow.
> Is this recommended? Any other approach?
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets