summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-23 15:50:18 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-23 15:50:18 +0100
commitf5e6d67948b8c71c2444046f6246aebab16546dc (patch)
treefdf354c520b18d0395d39f001ca4da646e6fc698 /doc
parente3cf6e9ced979464d30ad4cd63087cfbee33e9bd (diff)
Timeout in zmq_poll is in milliseconds
The old timeout in microsecond haven't been compliant with POSIX and was impractical at the same time. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/zmq_poll.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/zmq_poll.txt b/doc/zmq_poll.txt
index 9e3ecf7..72dcb4d 100644
--- a/doc/zmq_poll.txt
+++ b/doc/zmq_poll.txt
@@ -41,7 +41,7 @@ member, and then indicate any requested events that have occurred by setting the
bit corresponding to the event condition in the 'revents' member.
If none of the requested events have occurred on any *zmq_pollitem_t* item,
-_zmq_poll()_ shall wait 'timeout' microseconds for an event to occur on
+_zmq_poll()_ shall wait 'timeout' milliseconds for an event to occur on
any of the requested items. If the value of 'timeout' is `0`, _zmq_poll()_
shall return immediately. If the value of 'timeout' is `-1`, _zmq_poll()_ shall
block indefinitely until a requested event has occurred on at least one