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

Comparing libev/ev.h (file contents):
Revision 1.113 by root, Wed Apr 15 17:49:27 2009 UTC vs.
Revision 1.114 by root, Wed Apr 15 19:35:53 2009 UTC

524 * should not keep ev_loop from running, unref() after starting, and ref() before stopping. 524 * should not keep ev_loop from running, unref() after starting, and ref() before stopping.
525 */ 525 */
526void ev_ref (EV_P); 526void ev_ref (EV_P);
527void ev_unref (EV_P); 527void ev_unref (EV_P);
528 528
529/*
530 * stop/start the timer handling.
531 */
532void ev_suspend (EV_P);
533void ev_resume (EV_P);
534
535/*
529/* convenience function, wait for a single event, without registering an event watcher */ 536 * convenience function, wait for a single event, without registering an event watcher
530/* if timeout is < 0, do wait indefinitely */ 537 * if timeout is < 0, do wait indefinitely
538 */
531void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg); 539void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg);
532#endif 540#endif
533 541
534/* these may evaluate ev multiple times, and the other arguments at most once */ 542/* these may evaluate ev multiple times, and the other arguments at most once */
535/* either use ev_init + ev_TYPE_set, or the ev_TYPE_init macro, below, to first initialise a watcher */ 543/* either use ev_init + ev_TYPE_set, or the ev_TYPE_init macro, below, to first initialise a watcher */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines