[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Aug 6 12:36:00 CEST 2012


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	12/08/06 12:36:00

Modified files:
	cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 

Log message:
	me.stackbase := NIL inside activeMu, so that dying threads
	aren't suspended/resumed
	
	I tried making suspend/resume always succeed if stackbase = NIL,
	but that access violated in StopWorld; I don't understand.
	
	That is, setting it NIL outside the locks should be ok, as long
	as the code inside the locks notices.
	
	Test case if starting Juno on I386_FREEBSD with gcc 4.7 backend.
	It doesn't reproduce under a debugger.
	
	Note that probably FreeBSD, x86, gcc 4.7 aren't relevant.
	What probably is relevant is that Juno creates many threads
	and probably much garbage and heap allocations during startup.




More information about the M3commit mailing list