Re: New libc malloc patch

From: Johan Bucht <bucht_at_acc.umu.se>
Date: Mon, 12 Dec 2005 04:22:41 +0100
Johan Bucht wrote:

>>> * Fork safety functions
>>> Nice to have for all allocators and is something I missed having.  
>>> Would
>>> like to have them regardless if your malloc becomes standard or not.
>>
>>
>>
>> I think that the implementation is currently fork-safe.  The threads  
>> libraries call _malloc_prefork() and _malloc_postfork() in order to  
>> avoid locking issues.
>>
> Hmm, I meant that the _malloc_prefork() functions are independent from 
> your malloc allocation and I would like them committed regardless as 
> they make the life easier for other malloc implementation.


Bah, the libc bits not the actual functions of course. =)
Should probably go to sleep instead of writing semi-understandable 
sentences.

/Johan Bucht
Received on Mon Dec 12 2005 - 02:21:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC