X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/6fb30a67f78730c733f64429f327e360ea2acaf3..8f05d352659f0ea4f97f55ccfadfc322b72966bf:/ev.pod diff --git a/ev.pod b/ev.pod index d3d9910..901d76e 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). +Note 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