diff options
author | root <root> | 2008-10-20 17:50:48 +0000 |
---|---|---|
committer | root <root> | 2008-10-20 17:50:48 +0000 |
commit | 9e5a77b8331c7ad3a584359375b25f573118408f (patch) | |
tree | df63e2f116b3232d72d231deb9dbd8529332f76b /ev.pod | |
parent | 28f388cb6e50f3552e60c15ba181c76c29863ad5 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -971,12 +971,14 @@ whole section. =item C<ev_TYPE_stop> (loop *, ev_TYPE *watcher) -Stops the given watcher again (if active) and clears the pending -status. It is possible that stopped watchers are pending (for example, -non-repeating timers are being stopped when they become pending), but -C<ev_TYPE_stop> ensures that the watcher is neither active nor pending. If -you want to free or reuse the memory used by the watcher it is therefore a -good idea to always call its C<ev_TYPE_stop> function. +Stops the given watcher if active, and clears the pending status (whether +the watcher was active or not). + +It is possible that stopped watchers are pending - for example, +non-repeating timers are being stopped when they become pending - but +calling C<ev_TYPE_stop> ensures that the watcher is neither active nor +pending. If you want to free or reuse the memory used by the watcher it is +therefore a good idea to always call its C<ev_TYPE_stop> function. =item bool ev_is_active (ev_TYPE *watcher) |