diff options
author | root <root> | 2007-12-31 01:34:09 +0000 |
---|---|---|
committer | root <root> | 2007-12-31 01:34:09 +0000 |
commit | 9b47da80fe3aeb57d3340a633c83dd6e08bcc8e4 (patch) | |
tree | 5c00e85dc6150adfaa15ce039496b08b19725bbc /ev.pod | |
parent | e7d647c29a0f8395f68b86d6dfa62722ebd0ff0e (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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. |