ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.231 by root, Wed Apr 15 19:35:53 2009 UTC vs.
Revision 1.232 by root, Thu Apr 16 06:17:26 2009 UTC

1083integer between C<EV_MAXPRI> (default: C<2>) and C<EV_MINPRI> 1083integer between C<EV_MAXPRI> (default: C<2>) and C<EV_MINPRI>
1084(default: C<-2>). Pending watchers with higher priority will be invoked 1084(default: C<-2>). Pending watchers with higher priority will be invoked
1085before watchers with lower priority, but priority will not keep watchers 1085before watchers with lower priority, but priority will not keep watchers
1086from being executed (except for C<ev_idle> watchers). 1086from being executed (except for C<ev_idle> watchers).
1087 1087
1088See L<
1089
1088This means that priorities are I<only> used for ordering callback 1090This means that priorities are I<only> used for ordering callback
1089invocation after new events have been received. This is useful, for 1091invocation after new events have been received. This is useful, for
1090example, to reduce latency after idling, or more often, to bind two 1092example, to reduce latency after idling, or more often, to bind two
1091watchers on the same event and make sure one is called first. 1093watchers on the same event and make sure one is called first.
1092 1094
1582If the timer is started but non-repeating, stop it (as if it timed out). 1584If the timer is started but non-repeating, stop it (as if it timed out).
1583 1585
1584If the timer is repeating, either start it if necessary (with the 1586If the timer is repeating, either start it if necessary (with the
1585C<repeat> value), or reset the running timer to the C<repeat> value. 1587C<repeat> value), or reset the running timer to the C<repeat> value.
1586 1588
1587This sounds a bit complicated, see "Be smart about timeouts", above, for a 1589This sounds a bit complicated, see L<Be smart about timeouts>, above, for a
1588usage example. 1590usage example.
1589 1591
1590=item ev_tstamp repeat [read-write] 1592=item ev_tstamp repeat [read-write]
1591 1593
1592The current C<repeat> value. Will be used each time the watcher times out 1594The current C<repeat> value. Will be used each time the watcher times out

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines