Lines Matching refs:idle
868 (active idle watchers, EVRUN_NOWAIT or not having
877 - Queue all idle watchers with priority higher than that of pending events.
894 ... as they still have work to do (even an idle watcher will do..)
1197 C<ev_prepare> watcher might start an idle watcher to keep C<ev_run> from
1482 except for idle watchers (which use the lock-out model).
1501 Since idle watchers use the "lock-out" model, meaning that idle watchers
1508 the normal watcher callback, you just start the idle watcher. The real
1509 processing is done in the idle watcher callback. This causes libev to
1517 idle watcher, so the kernel will not have to process the event in case
1524 ev_idle idle; // actual processing watcher
1534 // start the idle watcher to handle the actual event.
1537 ev_idle_start (EV_A_ &idle);
1552 ev_idle_init (&idle, idle_cb);
1841 successfully read or write some data. If you go into an idle state where
2845 priority are pending (prepare, check and other idle watchers do not count
2850 triggered. But when your process is idle (or only lower-priority watchers
2851 are pending), the idle watchers are being called once per event loop
2855 The most noteworthy effect is that as long as any idle watchers are
2859 effect on its own sometimes), idle watchers are a good place to do
2865 As long as there is at least one active idle watcher, libev will never
2867 For this to work, the idle watcher doesn't need to be invoked at all - the
2883 Initialises and configures the idle watcher - it has no parameters of any
2948 of lower priority, but only once, using idle watchers to keep the event
2950 low-priority coroutines to idle/background tasks).
2979 single global idle watcher that is active as long as you have one active
3151 and even priorities and idle watchers might have too much overhead. In
3159 C<ev_embed_sweep> function directly, it could also start an idle watcher
3674 delay invoking the callback by using a C<prepare> or C<idle> watcher for
4031 =item C<ev::io>, C<ev::timer>, C<ev::periodic>, C<ev::idle>, C<ev::sig> etc.
4177 Example: Define a class with two I/O and idle watchers, start the I/O
4184 ev::idle idle; void idle_cb (ev::idle &w, int revents);
4190 idle.set <myclass, &myclass::idle_cb> (this);
5381 =item Starting io/check/prepare/idle/signal/child/fork/async watchers: O(1)
5385 =item Stopping check/prepare/idle/fork/async watchers: O(1)