summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2007-12-31 01:34:09 +0000
committerroot <root>2007-12-31 01:34:09 +0000
commit9b47da80fe3aeb57d3340a633c83dd6e08bcc8e4 (patch)
tree5c00e85dc6150adfaa15ce039496b08b19725bbc /ev.pod
parente7d647c29a0f8395f68b86d6dfa62722ebd0ff0e (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/ev.pod b/ev.pod
index 6b72cf7..742177c 100644
--- a/ev.pod
+++ b/ev.pod
@@ -607,7 +607,9 @@ example, libev itself uses this for its internal signal pipe: It is not
visible to the libev user and should not keep C<ev_loop> from exiting if
no event watchers registered by it are active. It is also an excellent
way to do this for generic recurring timers or from within third-party
-libraries. Just remember to I<unref after start> and I<ref before stop>.
+libraries. Just remember to I<unref after start> and I<ref before stop>
+(but only if the watcher wasn't active before, or was active before,
+respectively).
Example: Create a signal watcher, but keep it from keeping C<ev_loop>
running when nothing else is active.