[M3commit] CVS Update: cm3
Antony Hosking
hosking at elego.de
Thu Oct 11 08:00:47 CEST 2007
CVSROOT: /usr/cvs
Changes by: hosking at birch. 07/10/11 08:00:47
Modified files:
cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.m3
Log message:
Slightly cleaner version of suspended flag.
This code should be safe because suspended is set to TRUE only while all other
threads are stopped. In effect it is private to the GC thread which stops all
other threads before setting suspended to TRUE, and sets it back to FALSE
before starting all other threads.
More information about the M3commit
mailing list