From 7dd49ec71bc8b1b063670db164cadf3d792e8832 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 Dec 2009 06:59:47 +0000 Subject: *** empty log message *** --- ev.pod | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ev.pod') diff --git a/ev.pod b/ev.pod index ea09df2..0fe8881 100644 --- a/ev.pod +++ b/ev.pod @@ -376,8 +376,10 @@ otherwise each loop using C watchers consumes one inotify handle. When this flag is specified, then libev will attempt to use the I API for it's C (and C) watchers. This API -delivers signals synchronously, which makes is both faster and might make -it possible to get the queued signal data. +delivers signals synchronously, which makes it both faster and might make +it possible to get the queued signal data. It can also simplify signal +handling with threads, as long as you properly block signals in your +threads that are not interested in handling them. Signalfd will not be used by default as this changes your signal mask, and there are a lot of shoddy libraries and programs (glib's threadpool for @@ -2162,10 +2164,9 @@ unless you use the C API (C). While this reduces the window of opportunity for problems, it will not go away, as libev I to modify the signal mask, at least temporarily. -So I can't stress this enough I. This is not a libev-specific thing, this is true for most event -libraries. +So I can't stress this enough: I. This +is not a libev-specific thing, this is true for most event libraries. =head3 Watcher-Specific Functions and Data Members -- cgit v1.2.3