From 32a812b19948db91d25db13f2f999513d37f2240 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 18 Dec 2007 01:37:46 +0000 Subject: *** empty log message *** --- configure.ac | 2 +- ev.pod | 11 ++++++++++- import_libevent | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 13e627e..431c8d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_INIT(ev_epoll.c) -AM_INIT_AUTOMAKE(libev,1.85) +AM_INIT_AUTOMAKE(libev,1.86) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE diff --git a/ev.pod b/ev.pod index d3d9910..ba1eec4 100644 --- a/ev.pod +++ b/ev.pod @@ -406,9 +406,18 @@ etc.). None of the active event watchers will be stopped in the normal sense, so e.g. C might still return true. It is your responsibility to either stop all watchers cleanly yoursef I calling this function, or cope with the fact afterwards (which is usually -the easiest thing, youc na just ignore the watchers and/or C them +the easiest thing, you can just ignore the watchers and/or C them for example). +Not that certain global state, such as signal state, will not be freed by +this function, and related watchers (such as signal and child watchers) +would need to be stopped manually. + +In general it is not advisable to call this function except in the +rare occasion where you really need to free e.g. the signal handling +pipe fds. If you need dynamically allocated loops it is better to use +C and C). + =item ev_loop_destroy (loop) Like C, but destroys an event loop created by an diff --git a/import_libevent b/import_libevent index 9f4e35d..2f2fc2c 100755 --- a/import_libevent +++ b/import_libevent @@ -107,7 +107,7 @@ perl -ne ' s/-Wall//g; #s/libevent/libev/g; #VERSION - s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.85)/; + s/AM_INIT_AUTOMAKE\s*\(.*,(.*)\)/AM_INIT_AUTOMAKE(libevent-$1+libev,1.86)/; s/AC_LIBOBJ\(select\)/: ;/g; s/AC_LIBOBJ\(poll\)/: ;/g; s/AC_LIBOBJ\(kqueue\)/: ;/g; -- cgit v1.2.3