Merge pull request #3593 from jean-airoldie/doc_poller

Problem: behavior of closing a socket registered...
This commit is contained in:
Luca Boccassi 2019-07-24 11:03:14 +01:00 committed by GitHub
commit 60cca513a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,9 @@ and stores it in the address pointer to by 'fd'.
The zmq_poller is only guaranteed to have a file descriptor if The zmq_poller is only guaranteed to have a file descriptor if
at least one thread-safe socket is currently registered. at least one thread-safe socket is currently registered.
Note that closing a socket that is registered in a poller leads to undefined
behavior. The socket must be unregistered first.
EVENT TYPES EVENT TYPES
----------- -----------