[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] how to handle SIGCHLD before going into dispatch



Hi Yee,

Your code has a race between the child and the parent.  If you create
the base and install the SIGCHLD handling before forking, the race
will be cured.

Cheers,
Dave Hart
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.