Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

poll takes timeout in microseconds

  • Loading branch information...
commit 8a5014e2638283c317b26fb3449e4dfab08f3b48 1 parent 201c2bc
Eric Sessoms authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  src/packages.lisp
  2. +1 −1  src/zmq.lisp
View
1  src/packages.lisp
@@ -21,6 +21,7 @@
:with-poll-items
:poll-items-aref :do-poll-items :poll-item-event-signaled-p
:poll
+ :event-types
:stopwatch-start :stopwatch-stop :with-stopwatch
:sleep
View
2  src/zmq.lisp
@@ -389,7 +389,7 @@ ITEMS."
(foreign-bitfield-value 'event-types (list event))) 0))
(defun poll (items nb-items timeout)
- "Poll ITEMS with a timeout of TIMEOUT seconds, -1 meaning no time
+ "Poll ITEMS with a timeout of TIMEOUT microseconds, -1 meaning no time
limit. Return the number of items with signaled events."
(call-ffi -1 '%poll items nb-items timeout))
Please sign in to comment.
Something went wrong with that request. Please try again.