0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Problem: behavior of closing a socket registered...

...in a poller is not documented.
Solution: Document it.
This commit is contained in:
jean-airoldie 2019-07-24 05:59:29 -04:00
parent 49636f4c88
commit 1bd94a979d

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