summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2008-04-06 14:34:50 +0000
committerroot <root>2008-04-06 14:34:50 +0000
commit3d0af358d5546af2152aceb584947b9647499967 (patch)
tree1fd0037775a4dc90a4c6c87d4068263c50861f7e /ev.pod
parent226209f9a7f9890de15359d7e50cad68fe45283b (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/ev.pod b/ev.pod
index 72cf388..b904e2b 100644
--- a/ev.pod
+++ b/ev.pod
@@ -2635,6 +2635,16 @@ suitable for use with C<EV_A>.
Similar to the other two macros, this gives you the value of the default
loop, if multiple loops are supported ("ev loop default").
+=item C<EV_DEFAULT_UC>, C<EV_DEFAULT_UC_>
+
+Usage identical to C<EV_DEFAULT> and C<EV_DEFAULT_>, but requires that the
+default loop has been initialised (C<UC> == unchecked). Their behaviour
+is undefined when the default loop has not been initialised by a previous
+execution of C<EV_DEFAULT>, C<EV_DEFAULT_> or C<ev_default_init (...)>.
+
+It is often prudent to use C<EV_DEFAULT> when initialising the first
+watcher in a function but use C<EV_DEFAULT_UC> afterwards.
+
=back
Example: Declare and initialise a check watcher, utilising the above