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

Comparing libev/ev.h (file contents):
Revision 1.152 by root, Sun Oct 24 19:01:01 2010 UTC vs.
Revision 1.153 by root, Mon Oct 25 09:53:08 2010 UTC

550 return EV_A == EV_DEFAULT_UC; 550 return EV_A == EV_DEFAULT_UC;
551} 551}
552 552
553/* create and destroy alternative loops that don't handle signals */ 553/* create and destroy alternative loops that don't handle signals */
554struct ev_loop *ev_loop_new (unsigned int flags EV_CPP (= 0)); 554struct ev_loop *ev_loop_new (unsigned int flags EV_CPP (= 0));
555/* destroy event loops, also works for the default loop */
556void ev_loop_destroy (EV_P);
557 555
558ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */ 556ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */
559 557
560#else 558#else
561 559
575{ 573{
576 return 1; 574 return 1;
577} 575}
578 576
579#endif /* multiplicity */ 577#endif /* multiplicity */
578
579/* destroy event loops, also works for the default loop */
580void ev_loop_destroy (EV_P);
580 581
581/* this needs to be called after fork, to duplicate the loop */ 582/* this needs to be called after fork, to duplicate the loop */
582/* when you want to re-use it in the child */ 583/* when you want to re-use it in the child */
583/* you can call it in either the parent or the child */ 584/* you can call it in either the parent or the child */
584/* you can actually call it at any time, anywhere :) */ 585/* you can actually call it at any time, anywhere :) */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines