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

Comparing libev/ev.c (file contents):
Revision 1.121 by root, Fri Nov 16 10:37:28 2007 UTC vs.
Revision 1.122 by root, Sat Nov 17 02:00:48 2007 UTC

994 return 1; 994 return 1;
995 995
996 return 0; 996 return 0;
997} 997}
998 998
999static void 999inline void
1000call_pending (EV_P) 1000call_pending (EV_P)
1001{ 1001{
1002 int pri; 1002 int pri;
1003 1003
1004 for (pri = NUMPRI; pri--; ) 1004 for (pri = NUMPRI; pri--; )
1005 while (pendingcnt [pri]) 1005 while (pendingcnt [pri])
1006 { 1006 {
1007 ANPENDING *p = pendings [pri] + --pendingcnt [pri]; 1007 ANPENDING *p = pendings [pri] + --pendingcnt [pri];
1008 1008
1009 if (p->w) 1009 if (expect_true (p->w))
1010 { 1010 {
1011 p->w->pending = 0; 1011 p->w->pending = 0;
1012 EV_CB_INVOKE (p->w, p->events); 1012 EV_CB_INVOKE (p->w, p->events);
1013 } 1013 }
1014 } 1014 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines