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

Comparing libev/ev.h (file contents):
Revision 1.137 by root, Tue Mar 16 17:11:49 2010 UTC vs.
Revision 1.138 by root, Tue Mar 16 20:32:20 2010 UTC

588 * if timeout is < 0, do wait indefinitely 588 * if timeout is < 0, do wait indefinitely
589 */ 589 */
590void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg); 590void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg);
591 591
592# if EV_FEATURE_API 592# if EV_FEATURE_API
593unsigned int ev_loop_count (EV_P); /* number of loop iterations */ 593unsigned int ev_iteration (EV_P); /* number of loop iterations */
594unsigned int ev_loop_depth (EV_P); /* #ev_loop enters - #ev_loop leaves */ 594unsigned int ev_depth (EV_P); /* #ev_loop enters - #ev_loop leaves */
595void ev_loop_verify (EV_P); /* abort if loop data corrupted */ 595void ev_verify (EV_P); /* abort if loop data corrupted */
596
597/* pre 4.0 API */
598# if EV_MULTIPLICITY
599# define ev_loop_count(l) ev_iteration (l)
600# define ev_loop_depth(l) ev_depth (l)
601# endif
596 602
597void ev_set_io_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */ 603void ev_set_io_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */
598void ev_set_timeout_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */ 604void ev_set_timeout_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */
599 605
600/* advanced stuff for threading etc. support, see docs */ 606/* advanced stuff for threading etc. support, see docs */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines