[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Wed Nov 25 13:31:58 CET 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/11/25 13:31:58

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

Log message:
	add some LL and LL-ish comments (LL-ish like "write-once in function Foo")
	This is just from a quick scan of the code and hopefully correct.
	Actual code not changed.
	+    mutex: pthread_mutex_t := NIL;      (* write-once in CreateT *)
	+    cond: pthread_cond_t := NIL;        (* write-once in CreateT; a place to park while waiting *)
	+    alerted : BOOLEAN := FALSE;         (* LL = mutex; the alert flag *)
	+    waitingOn: pthread_mutex_t := NIL;  (* LL = mutex; The CV's mutex *)
	+    nextWaiter: Activation := NIL;      (* LL = mutex; queue of threads waiting on the same CV *)




More information about the M3commit mailing list