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

Comparing libev/ev.h (file contents):
Revision 1.75 by root, Wed Nov 28 17:32:24 2007 UTC vs.
Revision 1.77 by root, Mon Dec 3 13:41:25 2007 UTC

310/* bits for ev_default_loop and ev_loop_new */ 310/* bits for ev_default_loop and ev_loop_new */
311/* the default */ 311/* the default */
312#define EVFLAG_AUTO 0x00000000UL /* not quite a mask */ 312#define EVFLAG_AUTO 0x00000000UL /* not quite a mask */
313/* flag bits */ 313/* flag bits */
314#define EVFLAG_NOENV 0x01000000UL /* do NOT consult environment */ 314#define EVFLAG_NOENV 0x01000000UL /* do NOT consult environment */
315#define EVFLAG_FORKCHECK 0x02000000UL /* check for a fork in each iteration */
315/* method bits to be ored together */ 316/* method bits to be ored together */
316#define EVBACKEND_SELECT 0x00000001UL /* about anywhere */ 317#define EVBACKEND_SELECT 0x00000001UL /* about anywhere */
317#define EVBACKEND_POLL 0x00000002UL /* !win */ 318#define EVBACKEND_POLL 0x00000002UL /* !win */
318#define EVBACKEND_EPOLL 0x00000004UL /* linux */ 319#define EVBACKEND_EPOLL 0x00000004UL /* linux */
319#define EVBACKEND_KQUEUE 0x00000008UL /* bsd */ 320#define EVBACKEND_KQUEUE 0x00000008UL /* bsd */
385/* you can call it in either the parent or the child */ 386/* you can call it in either the parent or the child */
386/* you can actually call it at any time, anywhere :) */ 387/* you can actually call it at any time, anywhere :) */
387void ev_default_fork (void); 388void ev_default_fork (void);
388 389
389unsigned int ev_backend (EV_P); 390unsigned int ev_backend (EV_P);
391unsigned int ev_loop_count (EV_P);
390#endif 392#endif
391 393
392#define EVLOOP_NONBLOCK 1 /* do not block/wait */ 394#define EVLOOP_NONBLOCK 1 /* do not block/wait */
393#define EVLOOP_ONESHOT 2 /* block *once* only */ 395#define EVLOOP_ONESHOT 2 /* block *once* only */
394#define EVUNLOOP_CANCEL 0 /* undo unloop */ 396#define EVUNLOOP_CANCEL 0 /* undo unloop */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines