Merge pull request #3955 from bluca/thread_doc

Problem: thread safety documentation is misleading
This commit is contained in:
Luca Boccassi 2020-06-11 19:07:56 +01:00 committed by GitHub
commit c8b141d964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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