X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/40cacc255e3a1a5563eb1599fbea5f5d38ceb8eb..7c2c0ecea2a4196af25910beaaf0faa4468e8e52:/ev.pod diff --git a/ev.pod b/ev.pod index d40456b..a578fd8 100644 --- a/ev.pod +++ b/ev.pod @@ -738,8 +738,9 @@ it. Returns a true value iff the watcher is pending, (i.e. it has outstanding events but its callback has not yet been invoked). As long as a watcher is pending (but not active) you must not call an init function on it (but -C is safe) and you must make sure the watcher is available to -libev (e.g. you cnanot C it). +C is safe), you must not change its priority, and you must +make sure the watcher is available to libev (e.g. you cannot C +it). =item callback ev_cb (ev_TYPE *watcher) @@ -768,6 +769,9 @@ watchers on the same event and make sure one is called first. If you need to suppress invocation when higher priority events are pending you need to look at C watchers, which provide this functionality. +You I change the priority of a watcher as long as it is active or +pending. + The default priority used by watchers when no priority has been set is always C<0>, which is supposed to not be too high and not be too low :).