summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index 08f12d8..8802800 100644
--- a/README
+++ b/README
@@ -718,6 +718,18 @@ WATCHER TYPES
Return the pid of the awaited child (useful when you have installed
a watcher for all pids).
+ EV::Child::reinit [EXPERIMENTAL]
+ Internally, libev installs a signal handler for "SIGCHLD".
+ Unfortunately, a lot of Perl code does soemthing like "local
+ $SIG{CHLD}", which, unfortunately, is broken and will not restore
+ the signal handler.
+
+ If this has happened, you can call this function to stop/rrestart
+ the internal libev watcher, which will reset the signal handler.
+
+ Note that this is an experimental function, whose interface might
+ change.
+
STAT WATCHERS - did the file attributes just change?
$w = EV::stat $path, $interval, $callback
$w = EV::stat_ns $path, $interval, $callback