diff options
author | root <root> | 2007-11-24 07:20:42 +0000 |
---|---|---|
committer | root <root> | 2007-11-24 07:20:42 +0000 |
commit | b4b8cd662b359e1f3dd44b3bea5a8ab02218b461 (patch) | |
tree | 30c2b42e350a98b4cdf34a8d09b39c38149fdb3b /ev.3 | |
parent | f3ca3041956ddaad8a69ec7f6214c25f9346f048 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.3')
-rw-r--r-- | ev.3 | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -460,8 +460,12 @@ Example: try to create a event loop that uses epoll and nothing else. .IP "ev_default_destroy ()" 4 .IX Item "ev_default_destroy ()" Destroys the default loop again (frees all memory and kernel state -etc.). This stops all registered event watchers (by not touching them in -any way whatsoever, although you cannot rely on this :). +etc.). None of the active event watchers will be stopped in the normal +sense, so e.g. \f(CW\*(C`ev_is_active\*(C'\fR might still return true. It is your +responsibility to either stop all watchers cleanly yoursef \fIbefore\fR +calling this function, or cope with the fact afterwards (which is usually +the easiest thing, youc na just ignore the watchers and/or \f(CW\*(C`free ()\*(C'\fR them +for example). .IP "ev_loop_destroy (loop)" 4 .IX Item "ev_loop_destroy (loop)" Like \f(CW\*(C`ev_default_destroy\*(C'\fR, but destroys an event loop created by an |