Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 05/02/2002 19:49:26
Module Name:	basesrc
Committed By:	nathanw
Date:		Thu May  2 16:49:25 UTC 2002

Modified Files:
	basesrc/lib/libpthread [nathanw_sa]: Makefile pthread.c pthread.h
Removed Files:
	basesrc/lib/libpthread [nathanw_sa]: pthread_libcstubs.c

Log Message:
Different way of integrating with libc: Create a vector type for pthread
operations; libc will have a pointer to such a vector. When the pthread
library is loaded, set libc's pointer to a vector of real operations.
This removes the reliance on weak symbol magic, which didn't work
for static binaries, and as an aesthetic side effect, we don't have to
export a bunch of ugly _libc_pthread_* wrappers.


To generate a diff of this commit:
cvs rdiff -r1.8.2.13 -r1.8.2.14 basesrc/lib/libpthread/Makefile
cvs rdiff -r1.1.2.23 -r1.1.2.24 basesrc/lib/libpthread/pthread.c
cvs rdiff -r1.1.2.10 -r1.1.2.11 basesrc/lib/libpthread/pthread.h
cvs rdiff -r1.1.2.1 -r0 basesrc/lib/libpthread/pthread_libcstubs.c

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