summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2011-01-17 12:11:11 +0000
committerroot <root>2011-01-17 12:11:11 +0000
commit2433d34aa31bda69b3b28888ac035e1dc08663e3 (patch)
tree89dce4e81f7e5579b0d6c4c779db367f8219a8f4 /ev.pod
parentf00667682ef34d61b3f0f77e5bc3983fc40c55ef (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 6cd777e..3c605c1 100644
--- a/ev.pod
+++ b/ev.pod
@@ -444,6 +444,9 @@ This behaviour is useful when you want to do your own signal handling, or
want to handle signals only in specific threads and want to avoid libev
unblocking the signals.
+It's also required by POSIX in a threaded program, as libev calls
+C<sigprocmask>, whose behaviour is officially unspecified.
+
This flag's behaviour will become the default in future versions of libev.
=item C<EVBACKEND_SELECT> (value 1, portable select backend)
@@ -2302,7 +2305,8 @@ and unblock them in an C<ev_prepare> watcher.
Both the signal mask (C<sigprocmask>) and the signal disposition
(C<sigaction>) are unspecified after starting a signal watcher (and after
stopping it again), that is, libev might or might not block the signal,
-and might or might not set or restore the installed signal handler.
+and might or might not set or restore the installed signal handler (but
+see C<EVFLAG_NOSIGMASK>).
While this does not matter for the signal disposition (libev never
sets signals to C<SIG_IGN>, so handlers will be reset to C<SIG_DFL> on