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

Comparing libev/ev.c (file contents):
Revision 1.258 by root, Sun Sep 7 18:15:12 2008 UTC vs.
Revision 1.260 by root, Mon Sep 8 17:24:39 2008 UTC

1909ev_unref (EV_P) 1909ev_unref (EV_P)
1910{ 1910{
1911 --activecnt; 1911 --activecnt;
1912} 1912}
1913 1913
1914void
1915ev_now_update (EV_P)
1916{
1917 time_update (EV_A_ 1e100);
1918}
1919
1914static int loop_done; 1920static int loop_done;
1915 1921
1916void 1922void
1917ev_loop (EV_P_ int flags) 1923ev_loop (EV_P_ int flags)
1918{ 1924{
2982once_cb (EV_P_ struct ev_once *once, int revents) 2988once_cb (EV_P_ struct ev_once *once, int revents)
2983{ 2989{
2984 void (*cb)(int revents, void *arg) = once->cb; 2990 void (*cb)(int revents, void *arg) = once->cb;
2985 void *arg = once->arg; 2991 void *arg = once->arg;
2986 2992
2987 ev_io_stop (EV_A_ &once->io); 2993 ev_io_stop (EV_A_ &once->io);
2988 ev_timer_stop (EV_A_ &once->to); 2994 ev_timer_stop (EV_A_ &once->to);
2989 ev_free (once); 2995 ev_free (once);
2990 2996
2991 cb (revents, arg); 2997 cb (revents, arg);
2992} 2998}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines