summaryrefslogtreecommitdiff
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
parent0a2d41db33a342205818af32c2f20017670c5019 (diff)
*** empty log message ***
-rw-r--r--Changes1
-rw-r--r--ev.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/Changes b/Changes
index a925e6c..12412b5 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
Revision history for libev, a high-performance and full-featured event loop.
+TODO: required reading?
- "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading.
- ev_embed_stop did not correctly stop the watcher (very good
testcase by Vladimir Timofeev).
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 */