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

Comparing libev/ev.c (file contents):
Revision 1.25 by root, Wed Oct 31 21:34:45 2007 UTC vs.
Revision 1.26 by root, Wed Oct 31 21:50:15 2007 UTC

611int ev_loop_done; 611int ev_loop_done;
612 612
613void ev_loop (int flags) 613void ev_loop (int flags)
614{ 614{
615 double block; 615 double block;
616 ev_loop_done = flags & EVLOOP_ONESHOT ? 1 : 0; 616 ev_loop_done = flags & (EVLOOP_ONESHOT | EVLOOP_NONBLOCK) ? 1 : 0;
617 617
618 do 618 do
619 { 619 {
620 /* queue check watchers (and execute them) */ 620 /* queue check watchers (and execute them) */
621 if (preparecnt) 621 if (preparecnt)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines