*** empty log message ***

master
Marc Alexander Lehmann 2007-11-24 07:20:42 +00:00
parent 9674f986b5
commit 193276178f
3 changed files with 19 additions and 7 deletions

8
ev.3
View File

@ -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

10
ev.html
View File

@ -6,7 +6,7 @@
<meta name="description" content="Pod documentation for libev" />
<meta name="inputfile" content="&lt;standard input&gt;" />
<meta name="outputfile" content="&lt;standard output&gt;" />
<meta name="created" content="Sat Nov 24 08:13:46 2007" />
<meta name="created" content="Sat Nov 24 08:20:38 2007" />
<meta name="generator" content="Pod::Xhtml 1.57" />
<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
<body>
@ -366,8 +366,12 @@ undefined behaviour (or a failed assertion if assertions are enabled).</p>
<dt>ev_default_destroy ()</dt>
<dd>
<p>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 :).</p>
etc.). None of the active event watchers will be stopped in the normal
sense, so e.g. <code>ev_is_active</code> might still return true. It is your
responsibility to either stop all watchers cleanly yoursef <i>before</i>
calling this function, or cope with the fact afterwards (which is usually
the easiest thing, youc na just ignore the watchers and/or <code>free ()</code> them
for example).</p>
</dd>
<dt>ev_loop_destroy (loop)</dt>
<dd>

8
ev.pod
View File

@ -325,8 +325,12 @@ Example: try to create a event loop that uses epoll and nothing else.
=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. C<ev_is_active> might still return true. It is your
responsibility to either stop all watchers cleanly yoursef I<before>
calling this function, or cope with the fact afterwards (which is usually
the easiest thing, youc na just ignore the watchers and/or C<free ()> them
for example).
=item ev_loop_destroy (loop)