[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Mon Jan 17 13:55:57 CET 2011


It gets locked in ThreadPThread atfork. 

Sent from my iPhone

On Jan 17, 2011, at 12:42 AM, jay.krell at cornell.edu wrote:

> I haven't read the diff yet, but please not that one thread may have the heap locked while another calls fork(). There is no coordination between fork() calls and the heap, other than pthread_atfork().
> 
> - Jay
> 
> On Jan 16, 2011, at 8:58 PM, hosking at elego.de (Antony Hosking) wrote:
> 
>> CVSROOT:    /usr/cvs
>> Changes by:    hosking at birch.    11/01/16 20:58:37
>> 
>> Modified files:
>>   cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 
>> 
>> Log message:
>>   No need to LockHeap/UnlockHeap at fork.
>>   Simply reset flags recording threads started.
>> 



More information about the M3commit mailing list