tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Should we use _malloc_prefork and _malloc_postfork?
In article <20130107225753.GA6683%britannica.bec.de@localhost>,
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
>On Mon, Jan 07, 2013 at 09:00:14PM +0000, Christos Zoulas wrote:
>> I think we should go one step further than using them, and override
>> fork() in libpthread so we can do similar things that the FreeBSD
>> pthread fork does to make sure that it is safer (like blocking signals).
>
>No, if anything this is what pthread_atfork is for.
But it is difficult to control errors, state, order of execution and unwind
this way.
christos
Home |
Main Index |
Thread Index |
Old Index