… | |
… | |
386 | /* you can call it in either the parent or the child */ |
386 | /* you can call it in either the parent or the child */ |
387 | /* you can actually call it at any time, anywhere :) */ |
387 | /* you can actually call it at any time, anywhere :) */ |
388 | void ev_default_fork (void); |
388 | void ev_default_fork (void); |
389 | |
389 | |
390 | unsigned int ev_backend (EV_P); |
390 | unsigned int ev_backend (EV_P); |
|
|
391 | unsigned int ev_loop_count (EV_P); |
391 | #endif |
392 | #endif |
392 | |
393 | |
393 | #define EVLOOP_NONBLOCK 1 /* do not block/wait */ |
394 | #define EVLOOP_NONBLOCK 1 /* do not block/wait */ |
394 | #define EVLOOP_ONESHOT 2 /* block *once* only */ |
395 | #define EVLOOP_ONESHOT 2 /* block *once* only */ |
395 | #define EVUNLOOP_CANCEL 0 /* undo unloop */ |
396 | #define EVUNLOOP_CANCEL 0 /* undo unloop */ |