ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.441 by root, Thu Jul 13 10:46:52 2017 UTC vs.
Revision 1.442 by root, Mon Jul 30 22:23:50 2018 UTC

3518 3518
3519There are some other functions of possible interest. Described. Here. Now. 3519There are some other functions of possible interest. Described. Here. Now.
3520 3520
3521=over 4 3521=over 4
3522 3522
3523=item ev_once (loop, int fd, int events, ev_tstamp timeout, callback) 3523=item ev_once (loop, int fd, int events, ev_tstamp timeout, callback, arg)
3524 3524
3525This function combines a simple timer and an I/O watcher, calls your 3525This function combines a simple timer and an I/O watcher, calls your
3526callback on whichever event happens first and automatically stops both 3526callback on whichever event happens first and automatically stops both
3527watchers. This is useful if you want to wait for a single event on an fd 3527watchers. This is useful if you want to wait for a single event on an fd
3528or timeout without having to allocate/configure/start/stop/free one or 3528or timeout without having to allocate/configure/start/stop/free one or

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines