diff options
author | root <root> | 2007-12-08 03:53:36 +0000 |
---|---|---|
committer | root <root> | 2007-12-08 03:53:36 +0000 |
commit | 7c2c0ecea2a4196af25910beaaf0faa4468e8e52 (patch) | |
tree | 61aeb9cd89513979ea8477ca4281b464f5622d33 /ev.pod | |
parent | 40cacc255e3a1a5563eb1599fbea5f5d38ceb8eb (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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<ev_TYPE_set> is safe) and you must make sure the watcher is available to -libev (e.g. you cnanot C<free ()> it). +C<ev_TYPE_set> is safe), you must not change its priority, and you must +make sure the watcher is available to libev (e.g. you cannot C<free ()> +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<ev_idle> watchers, which provide this functionality. +You I<must not> 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 :). |