summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2010-10-25 09:53:08 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2010-10-25 09:53:08 +0000
commitb89313cb72327ae6e2a9e453625849165b5cd26d (patch)
treecea36ced2fc1b73cbb9c197d4ecc329b8e31d105 /ev.h
parent2fbc5e0243445c671f8bd10f55e8d82ed63e619a (diff)
downloadlibev-b89313cb72327ae6e2a9e453625849165b5cd26d.tar.gz
libev-b89313cb72327ae6e2a9e453625849165b5cd26d.zip
*** 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 */