From 7c2c0ecea2a4196af25910beaaf0faa4468e8e52 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 8 Dec 2007 03:53:36 +0000 Subject: *** empty log message *** --- ev.pod | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '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 :). -- cgit v1.2.3