summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2010-10-25 09:53:08 +0000
committerroot <root>2010-10-25 09:53:08 +0000
commit55090f7eebb26a4528319492151224c956c2c163 (patch)
treecea36ced2fc1b73cbb9c197d4ecc329b8e31d105 /ev.h
parent0a2d41db33a342205818af32c2f20017670c5019 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ev.h b/ev.h
index 424269c..69d49a8 100644
--- a/ev.h
+++ b/ev.h
@@ -552,8 +552,6 @@ ev_is_default_loop (EV_P)
/* create and destroy alternative loops that don't handle signals */
struct ev_loop *ev_loop_new (unsigned int flags EV_CPP (= 0));
-/* destroy event loops, also works for the default loop */
-void ev_loop_destroy (EV_P);
ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */
@@ -578,6 +576,9 @@ ev_is_default_loop (void)
#endif /* multiplicity */
+/* destroy event loops, also works for the default loop */
+void ev_loop_destroy (EV_P);
+
/* this needs to be called after fork, to duplicate the loop */
/* when you want to re-use it in the child */
/* you can call it in either the parent or the child */