[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sat Apr 23 12:08:01 CEST 2011


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	11/04/23 12:08:01

Modified files:
	cm3/m3-libs/libm3/src/os/POSIX/: ProcessPosixCommon.m3 
	cm3/m3-libs/libm3/src/perftool/POSIX/: LowPerfTool.m3 
	cm3/m3-libs/m3core/src/runtime/POSIX/: RTPerfTool.m3 
	cm3/m3-libs/m3core/src/unix/Common/: Unix.i3 UnixC.c 
	cm3/m3-tools/cvsup/server/src/: FSServer.m3 Main.m3 

Log message:
	Unix.fork() => RTProcess.Fork()
	The difference is that with user threads, RTProcess.Fork()
	honors RTProcess.RegisterForkHandlers, but without depending
	on -pthread/-pthreads/-lpthread, which are apparently
	broken on some platforms. (Maybe we can #ifdef and reduce this?
	e.g. probably we don't need this hack on Solaris.)
	
	And then go so far as to remove Unix.fork().
	That is an incompatibility though, with Unix-specific code.
	Notice where the Unix.fork() uses are: m3core, libm3, cvsup




More information about the M3commit mailing list