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

Comparing libev/ev.c (file contents):
Revision 1.257 by root, Sun Jun 29 22:32:51 2008 UTC vs.
Revision 1.259 by root, Mon Sep 8 13:14:23 2008 UTC

1511{ 1511{
1512 postfork = 1; /* must be in line with ev_default_fork */ 1512 postfork = 1; /* must be in line with ev_default_fork */
1513} 1513}
1514 1514
1515#if EV_VERIFY 1515#if EV_VERIFY
1516void noinline 1516static void noinline
1517verify_watcher (EV_P_ W w) 1517verify_watcher (EV_P_ W w)
1518{ 1518{
1519 assert (("watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI)); 1519 assert (("watcher has invalid priority", ABSPRI (w) >= 0 && ABSPRI (w) < NUMPRI));
1520 1520
1521 if (w->pending) 1521 if (w->pending)
2982once_cb (EV_P_ struct ev_once *once, int revents) 2982once_cb (EV_P_ struct ev_once *once, int revents)
2983{ 2983{
2984 void (*cb)(int revents, void *arg) = once->cb; 2984 void (*cb)(int revents, void *arg) = once->cb;
2985 void *arg = once->arg; 2985 void *arg = once->arg;
2986 2986
2987 ev_io_stop (EV_A_ &once->io); 2987 ev_io_stop (EV_A_ &once->io);
2988 ev_timer_stop (EV_A_ &once->to); 2988 ev_timer_stop (EV_A_ &once->to);
2989 ev_free (once); 2989 ev_free (once);
2990 2990
2991 cb (revents, arg); 2991 cb (revents, arg);
2992} 2992}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines