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