[M3commit] CVS Update: cm3

Antony Hosking hosking at elego.de
Sun Nov 8 09:19:08 CET 2009


CVSROOT:	/usr/cvs
Changes by:	hosking at birch.	09/11/08 09:19:08

Modified files:
	cm3/m3-libs/m3core/src/thread/PTHREAD/: ThreadPThread.i3 
	                                        ThreadPThread.m3 
	                                        ThreadPThreadC.c 
	cm3/m3-libs/m3core/src/unix/Common/: m3makefile 
	cm3/m3-libs/m3core/src/unix/darwin-generic/: m3makefile 
	cm3/m3-libs/m3core/src/unix/freebsd-4/: m3makefile 
	cm3/m3-libs/m3core/src/unix/linux-libc6/: m3makefile 
	cm3/m3-libs/m3core/src/unix/solaris-2-x/: m3makefile 
Removed files:
	cm3/m3-libs/m3core/src/unix/Common/: Upthread.c Upthread.i3 
	cm3/m3-libs/m3core/src/unix/darwin-generic/: Upthread.i3 
	                                             Upthread.m3 
	cm3/m3-libs/m3core/src/unix/freebsd-4/: Upthread.i3 
	cm3/m3-libs/m3core/src/unix/linux-libc6/: Upthread.i3 
	cm3/m3-libs/m3core/src/unix/solaris-2-x/: Upthread.i3 

Log message:
	Rework ThreadPThread to avoid use of deprecated Upthread.i3.
	Delete Upthread files.
	Rework ThreadPThread to avoid expensive Self() call on thread primitives
	by putting the thread state in the (UNTRACED) Activation rather than Thread.T.
	Be much more cautious about resending signals to avoid too many acks.
	Hopefully this will fix the reported errors on FreeBSD7.
	Needs thorough testing on all platforms (help appreciated).
	Tested on I386_DARWIN, but needs testing on non-Darwin systems that use signals
	to stop threads.




More information about the M3commit mailing list