[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sat Dec 12 13:35:16 CET 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/12/12 13:35:16

Modified files:
	cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.i3 
	                                      ThreadWin32.m3 
	                                      ThreadWin32C.c 

Log message:
	eliminate giant lock
	Use the algorithm from the Java implementation.
	Adding another lock per condition, since they have the one user and condition lock,
	but we apparently let folks use multiple locks with the same condition.
	(Multiple conditions per lock makes sense to me; multiple locks per condition
	does not.)
	
	also eliminate all uses of Self() (like pthreads)
	Now putting slotLock back in FreeSlot and Self() not so bad,
	esp. in the interest of unifying with pthreads. Not done yet.
	(since we no longer call Self, and FreeSlot is rare)




More information about the M3commit mailing list