… | |
… | |
1159 | and call libev functions on it that are documented to work on active watchers. |
1159 | and call libev functions on it that are documented to work on active watchers. |
1160 | |
1160 | |
1161 | =item pending |
1161 | =item pending |
1162 | |
1162 | |
1163 | If a watcher is active and libev determines that an event it is interested |
1163 | If a watcher is active and libev determines that an event it is interested |
1164 | in has occured (such as a timer expiring), it will become pending. It will |
1164 | in has occurred (such as a timer expiring), it will become pending. It will |
1165 | stay in this pending state until either it is stopped or its callback is |
1165 | stay in this pending state until either it is stopped or its callback is |
1166 | about to be invoked, so it is not normally pending inside the watcher |
1166 | about to be invoked, so it is not normally pending inside the watcher |
1167 | callback. |
1167 | callback. |
1168 | |
1168 | |
1169 | The watcher might or might not be active while it is pending (for example, |
1169 | The watcher might or might not be active while it is pending (for example, |