Subject: CVS commit: src/lib
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 07/18/2004 21:24:52
Module Name:	src
Committed By:	chs
Date:		Sun Jul 18 21:24:52 UTC 2004

Modified Files:
	src/lib/libpthread: pthread.c pthread_alarms.c pthread_sa.c
	    pthread_sig.c pthread_sleep.c pthread_stack.c
	src/lib/libpthread_dbg: pthread_dbg.c

Log Message:
enhance MI pthreads code to support hppa:
 - statically initialize all global spin locks.  on hppa, 0 means
   the lock is held, so leaving them with the default value doesn't work.
 - compare functions pointers using a function-pointer type rather than
   an integral type.  on hppa, function pointers may be indirect,
   so we need to trigger gcc to emit calls to the function-pointer
   canonicalization routines in the millicode.
 - on hppa the stack grows up, so handle that using the STACK_* macros.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/lib/libpthread/pthread.c \
    src/lib/libpthread/pthread_sig.c
cvs rdiff -r1.9 -r1.10 src/lib/libpthread/pthread_alarms.c
cvs rdiff -r1.30 -r1.31 src/lib/libpthread/pthread_sa.c
cvs rdiff -r1.3 -r1.4 src/lib/libpthread/pthread_sleep.c
cvs rdiff -r1.12 -r1.13 src/lib/libpthread/pthread_stack.c
cvs rdiff -r1.28 -r1.29 src/lib/libpthread_dbg/pthread_dbg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.