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

Comparing libev/ev.pod (file contents):
Revision 1.368 by root, Thu Apr 14 23:02:33 2011 UTC vs.
Revision 1.369 by root, Mon May 30 18:34:28 2011 UTC

825This is useful if you are waiting for some external event in conjunction 825This is useful if you are waiting for some external event in conjunction
826with something not expressible using other libev watchers (i.e. "roll your 826with something not expressible using other libev watchers (i.e. "roll your
827own C<ev_run>"). However, a pair of C<ev_prepare>/C<ev_check> watchers is 827own C<ev_run>"). However, a pair of C<ev_prepare>/C<ev_check> watchers is
828usually a better approach for this kind of thing. 828usually a better approach for this kind of thing.
829 829
830Here are the gory details of what C<ev_run> does: 830Here are the gory details of what C<ev_run> does (this is for your
831understanding, not a guarantee that things will work exactly like this in
832future versions):
831 833
832 - Increment loop depth. 834 - Increment loop depth.
833 - Reset the ev_break status. 835 - Reset the ev_break status.
834 - Before the first iteration, call any pending watchers. 836 - Before the first iteration, call any pending watchers.
835 LOOP: 837 LOOP:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines