[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jul 26 14:34:22 CEST 2010

CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/07/26 14:34:22

Modified files:
	cm3/m3-libs/m3core/src/: m3makefile 
	cm3/m3-libs/m3core/src/thread/: m3makefile 
Removed files:
	cm3/m3-libs/m3core/src/: thread.quake 

Log message:
	Tweak the determination of user threads vs. pthreads.
	The logic is:
	NT, Win32, Mingw, Cygwin => Win32
	FreeBSD4 (really, 4, not I386_FREEBSD), OpenBSD => user threads
	-DNOPTHREAD => user threads
	else => pthreads
	There is no longer a list of platforms, but one can easily
	add it here, using ({"plat1", "plat2"} contains TARGET) or such.
	As well, the config files should probably say, e.g.:
	ThreadLibrary = "user"
	PosixUserThreads = TRUE
	Really, in the config files.
	Though src/m3makefile might warn/error for known not to work things
	like user threads on NT for example.

More information about the M3commit mailing list