On Tue, Aug 14, 2012 at 11:15:06PM +0800, David Xu wrote:
> You are requiring the thread library to implement such a mutex
> and other locks, that after vfork(), the mutex and other lock types must
> still work across processes, the PTHREAD_PROCESS_PRIVATE type of
> mutex and other locks now need to work in a PTHREAD_PROCESS_SHARE
> mode.

In fact, yes. In my patch I achieve this by single-threading the parent,
which means that existing _PRIVATE mutexes are enough.

Attachment: pgpJT0Oaq87fS.pgp
Description: PGP signature

Reply via email to