[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Tue Dec 15 19:00:29 CET 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/12/15 19:00:29

Modified files:
	cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3 
	                                        RTHeapRep.i3 
	cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3 
	cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3 

Log message:
	restructure RegisterFinalCleanup into two phase Reserve/Commit
	in order to avoid holding initLock and heapLock at the same time
	and having to worry about lock order, deadlock etc.
	Reserve raises an exception under low memory (as Register did)
	and Commit does not.




More information about the M3commit mailing list