mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
document context create cannot execute in parallel
Reported by Ash 20001 <ash20001@hotmail.com> Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
0d89f3cbed
commit
d256194a0c
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ websocket ones, you can combine them together with the websocket ones
|
|||
in one poll loop, see "External Polling Loop support" below, and
|
||||
still do it all in one thread / process context.
|
||||
|
||||
If you insist on trying to use it from multiple threads, take special care if
|
||||
you might simultaneously create more than one context from different threads.
|
||||
|
||||
SSL_library_init() is called from the context create api and it also is not
|
||||
reentrant. So at least create the contexts sequentially.
|
||||
|
||||
|
||||
Only send data when socket writeable
|
||||
------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue