[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] conditions variables module

From: James Youngman
Subject: Re: [PATCH] conditions variables module
Date: Mon, 11 Aug 2008 11:57:40 +0100

On Fri, Aug 8, 2008 at 8:10 PM, Yoann Vandoorselaere
<address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]