[Libwebsockets] One thread for initializing and reading, another for writing
aubin.mahe at fr.thalesgroup.com
Wed Sep 30 14:28:20 CEST 2015
I use a thread for reading on libwebsockets and another one for writing.
More precisely, the first thread is dedicated to:
http and user callbacks defined in struct libwebsocket_protocols
The second thread uses only libwebsocket_write().
Is this practice safe?
Thanks and Regards
More information about the Libwebsockets