[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Mon Jan 19 16:57:22 CET 2009


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	09/01/19 16:57:22

Modified files:
	cm3/m3-libs/m3core/src/unix/: m3makefile 
	cm3/m3-libs/m3core/src/unix/Common/: Uconstants.c Uexec.c 
	                                     Unetdb.i3 Unix.i3 
	                                     Upthread.i3 Uresource.i3 
	                                     Usignal.i3 Usocket.i3 
	                                     Ustat.i3 Utime.i3 Utypes.i3 
	cm3/m3-libs/m3core/src/unix/cygwin/: Usysdep.i3 m3makefile 
	cm3/m3-libs/m3core/src/unix/freebsd-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/linux-common/: Usysdep.i3 
	cm3/m3-libs/m3core/src/unix/openbsd-common/: Usysdep.i3 
	cm3/m3-sys/cminstall/src/config/: NT386.common 
Removed files:
	cm3/m3-libs/m3core/src/unix/cygwin/: 1.c Uerror.i3 Usignal.i3 
	                                     Usignal.i3.c Ustat.i3 
	cm3/m3-libs/m3core/src/unix/linux-sparc/: Usignal.i3 Usocket.i3 
	                                          m3makefile 

Log message:
	add Cygwin Upthread support, to be used very soon
	
	move a lot of constants out of cloned headers and into constant variables in C
	
	Upthread.i3
	remove commented out pthread_mutexattr_t, pthread_condattr_t for now, we always pass NULL
	destructor_t is always the same
	start_routine_t is always the same
	move PTHREAD_MUTEX_INITIALIZER, PTHREAD_COND_INITIALIZER to be constant variables in C
	
	Unix.i3
	move constants to constant C variables:
	O_RDONLY
	O_RDWR
	O_CREAT
	O_EXCL
	O_TRUNC
	O_NONBLOCK
	
	Usignal.i3:
	move constants to constant C variables:
	SIGINT
	SIGKILL
	
	Usocket.i3:
	move constants to constant C variables:
	SOCK_STREAM
	SOCK_DGRAM
	SO_REUSEADDR
	SO_KEEPALIVE
	SO_LINGER
	SOL_SOCKET
	AF_INET
	MSG_PEEK
	
	Utypes.i3:
	clock_t is never used; remove it
	
	Uresource.i3:
	move constant RUSAGE_SELF to constant C variable
	
	Unetdb.i3
	move constants to constant C variables:
	TRY_AGAIN
	NO_RECOVERY
	NO_ADDRESS
	
	as part of this then, we can delete linux-sparc and some cygwin files,
	leaving only Usysdep.i3 in openbsd-common, cygwin, linux-common, freebsd-common




More information about the M3commit mailing list