summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-09-19 03:52:56 +0000
committerroot <root>2008-09-19 03:52:56 +0000
commit21677667c48f905e6efd47ad5c9bfe908f1259ef (patch)
treea301a21777ee94dc81d5cceee8510dce1f76ac5e
parentfc3dbcda5360f1a0aa528eed8737d6ce370e665c (diff)
*** empty log message ***
-rw-r--r--ev.pod12
1 files changed, 8 insertions, 4 deletions
diff --git a/ev.pod b/ev.pod
index b973673..fd20a8e 100644
--- a/ev.pod
+++ b/ev.pod
@@ -3283,11 +3283,15 @@ Choosing a model is hard - look around, learn, know that usually you can do
better than you currently do :-)
=item * often you need to talk to some other thread which blocks in the
-event loop - C<ev_async> watchers can be used to wake them up from other
-threads safely (or from signal contexts...).
+event loop.
+
+C<ev_async> watchers can be used to wake them up from other threads safely
+(or from signal contexts...).
-=item * some watcher types are only supported in the default loop - use
-C<ev_async> watchers to tell your other loops about any such events.
+An example use would be to communicate signals or other events that only
+work in the default loop by registering the signal watcher with the
+default loop and triggering an C<ev_async> watcher from the default loop
+watcher callback into the event loop interested in the signal.
=back