summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2012-05-03 15:07:15 +0000
committerroot <root>2012-05-03 15:07:15 +0000
commit5a236891c85e8a4cef3222308f7fe7c9a9549c7b (patch)
tree9b12bf0f0dc11235448ce3b762a744726fac8e49 /ev.pod
parent6057940c0ca57e2a9feba9eac38daafae9b89635 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod19
1 files changed, 12 insertions, 7 deletions
diff --git a/ev.pod b/ev.pod
index 2f90836..7ac14b5 100644
--- a/ev.pod
+++ b/ev.pod
@@ -1176,13 +1176,18 @@ The C<ev_idle> watcher has determined that you have nothing better to do.
=item C<EV_CHECK>
-All C<ev_prepare> watchers are invoked just I<before> C<ev_run> starts
-to gather new events, and all C<ev_check> watchers are invoked just after
-C<ev_run> has gathered them, but before it invokes any callbacks for any
-received events. Callbacks of both watcher types can start and stop as
-many watchers as they want, and all of them will be taken into account
-(for example, a C<ev_prepare> watcher might start an idle watcher to keep
-C<ev_run> from blocking).
+All C<ev_prepare> watchers are invoked just I<before> C<ev_run> starts to
+gather new events, and all C<ev_check> watchers are queued (not invoked)
+just after C<ev_run> has gathered them, but before it queues any callbacks
+for any received events. That means C<ev_prepare> watchers are the last
+watchers invoked before the event loop sleeps or polls for new events, and
+C<ev_check> watchers will be invoked before any other watchers of the same
+or lower priority within an event loop iteration.
+
+Callbacks of both watcher types can start and stop as many watchers as
+they want, and all of them will be taken into account (for example, a
+C<ev_prepare> watcher might start an idle watcher to keep C<ev_run> from
+blocking).
=item C<EV_EMBED>