mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-28 18:35:41 +01:00
Problem: thread safety documentation is misleading
Solution: change it to categorically state that non-thread-safe sockets are not thread safe, ever
This commit is contained in:
parent
7c3eaf864c
commit
7f83eeb1b7
@ -49,8 +49,8 @@ _zmq_bind()_, thus allowing many-to-many relationships.
|
||||
.Thread safety
|
||||
0MQ has both thread safe socket type and _not_ thread safe socket types.
|
||||
Applications MUST NOT use a _not_ thread safe socket
|
||||
from multiple threads except after migrating a socket from one thread to
|
||||
another with a "full fence" memory barrier.
|
||||
from multiple threads under any circumstances. Doing so results in undefined
|
||||
behaviour.
|
||||
|
||||
Following are the thread safe sockets:
|
||||
* ZMQ_CLIENT
|
||||
|
Loading…
x
Reference in New Issue
Block a user