From 1ad1e600c3eebe009db39a0f9750ed4adb078857 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Nov 2007 04:36:03 +0000 Subject: *** empty log message *** --- ev.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ev.html') diff --git a/ev.html b/ev.html index 437179a..fbfaeea 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -274,9 +274,9 @@ earlier call to ev_loop_new.

one. Despite the name, you can call it anytime, but it makes most sense after forking, in either the parent or child process (or both, but that again makes little sense).

-

You must call this function after forking if and only if you want to -use the event library in both processes. If you just fork+exec, you don't -have to call it.

+

You must call this function in the child process after forking if and +only if you want to use the event library in both processes. If you just +fork+exec, you don't have to call it.

The function itself is quite fast and it's usually not a problem to call it just in case after a fork. To make this easy, the function will fit in quite nicely into a call to pthread_atfork:

-- cgit v1.2.3