summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2010-10-24 21:51:03 +0000
committerroot <root>2010-10-24 21:51:03 +0000
commitbea7ecb1704869852017d6b7effc85acaeec129d (patch)
treef96ba63f832b32269fe6703e56d6826073f5fade
parentb7c6c542e8fcaf291d3659214a323e57cb283560 (diff)
*** empty log message ***
-rw-r--r--Changes1
-rw-r--r--ev.c2
-rw-r--r--ev.pod4
3 files changed, 5 insertions, 2 deletions
diff --git a/Changes b/Changes
index 89af89a..e97072e 100644
--- a/Changes
+++ b/Changes
@@ -55,6 +55,7 @@ TODO: ev_default_destroy, ev_default_fork
default arguments when compiled as C++.
- enable automake dependency tracking.
- ev_loop_new no longer leaks memory when loop creation failed.
+ - new ev_cleanup watcher type.
3.9 Thu Dec 31 07:59:59 CET 2009
- signalfd is no longer used by default and has to be requested
diff --git a/ev.c b/ev.c
index b5b0c5f..d62dd2b 100644
--- a/ev.c
+++ b/ev.c
@@ -1738,9 +1738,11 @@ ev_loop_destroy (EV_P)
{
int i;
+#if EV_MULTIPLICITY
/* mimic free (0) */
if (!EV_A)
return;
+#endif
#if EV_CLEANUP_ENABLE
/* queue cleanup watchers (and execute them) */
diff --git a/ev.pod b/ev.pod
index 46971b4..85ceb54 100644
--- a/ev.pod
+++ b/ev.pod
@@ -302,8 +302,8 @@ I<not> optional in this case unless libev 3 compatibility is disabled, as
libev 3 had an C<ev_loop> function colliding with the struct name).
The library knows two types of such loops, the I<default> loop, which
-supports signals and child events, and dynamically created event loops
-which do not.
+supports child process events, and dynamically created event loops which
+do not.
=over 4