On Fri, Aug 8, 2008 at 8:10 PM, Yoann Vandoorselaere
<[EMAIL PROTECTED]> wrote:
> The supposed way to use pthread_atfork is that the prepare fork handler
> will be called prior to the process forking so that the application can
> lock the program to solidify it in a known state.

Yes, my point is that to do so it will need to acquire one or more
locks (since otherwise the data structures protected by locks will not
be in a defined state).   Attempts to acquire such locks run the risk
of deadlock.

James.


Reply via email to