[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Tue Sep 29 12:27:08 CEST 2009
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/09/29 12:27:08
Modified files:
cm3/m3-libs/m3core/src/thread/WIN32/: ThreadWin32.m3
Log message:
Like pthreads, have Thread.T derive from MUTEX, so we can LOCK it,
instead of using one global threadMu for the fields of all threads.
Note that Win32 Modula-3 threads/mutexes still scale well due to the
the critical section cm that guards everything. Probably can't be
fixed until there is a version that depends on the condition variables
introduced in Vista.
More information about the M3commit
mailing list