Skip to content
Snippets Groups Projects
Commit b6cf32b8 authored by Robert Ricci's avatar Robert Ricci
Browse files

Add a blocking poll, event_poll_blocking(), to the event library.

Note the following: (from the API file)
  IMPORTANT: elvin uses timeouts internally. So, this function does
  NOT guarantee that when it returns, either an event has been
  recieved or your timeout has passed. This should not be much of
  a problem, but you have been warned!

The above is not really fixable, without hacking elvin. And it may
not be entirely fixable even then. In particular, the first call to
event_poll_blocking() will always return at once, since there are
leftover timers from connecting to elvind.
parent 27cdff23
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment