summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2010-10-22 05:44:33 +0000
committerroot <root>2010-10-22 05:44:33 +0000
commit161ca5d6241779e10976c8e0e3ab090a7d539112 (patch)
treed7afb6ba9b63be914650ee125fd51b5086ad63eb /ev.pod
parent1c954c77ef072306606df24c4e5c4dfcee517457 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/ev.pod b/ev.pod
index ba192de..118d29c 100644
--- a/ev.pod
+++ b/ev.pod
@@ -910,7 +910,11 @@ more often than 100 times per second:
This call will simply invoke all pending watchers while resetting their
pending state. Normally, C<ev_run> does this automatically when required,
-but when overriding the invoke callback this call comes handy.
+but when overriding the invoke callback this call comes handy. This
+function can be invoked from a watcher - this can be useful for example
+when you want to do some lengthy calculation and want to pass further
+event handling to another thread (you still have to make sure only one
+thread executes within C<ev_invoke_pending> or C<ev_run> of course).
=item int ev_pending_count (loop)