Subject: CVS commit: [nathanw_sa] src/lib
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/08/2003 21:34:24
Module Name: src
Committed By: thorpej
Date: Wed Jan 8 19:34:23 UTC 2003
Modified Files:
src/lib/libc/include [nathanw_sa]: reentrant.h
src/lib/libc/thread-stub [nathanw_sa]: Makefile.inc
src/lib/libpthread [nathanw_sa]: Makefile pthread.c pthread.h
pthread_cancelstub.c pthread_cond.c pthread_mutex.c
pthread_rwlock.c pthread_sig.c pthread_specific.c sched.c
Added Files:
src/lib/libc/thread-stub [nathanw_sa]: thread-stub.c
Removed Files:
src/lib/libc/thread-stub [nathanw_sa]: pthread-stub.c
Log Message:
Rewrite the way libpthread provides thread primitives to libc, using
strong and weak aliases (the way cancelation points are handled).
Work around lame Unix static library semantics which could cause
the wrong thread primitives or cancelation point functions to be
included in a statically-linked program.
THIS IS AN ABI CHANGE. People running the nathanw_sa branch should
ensure that their libc and libpthread are in sync after updating.
To generate a diff of this commit:
cvs rdiff -r1.6.4.5 -r1.6.4.6 src/lib/libc/include/reentrant.h
cvs rdiff -r1.2.8.2 -r1.2.8.3 src/lib/libc/thread-stub/Makefile.inc
cvs rdiff -r1.3.6.11 -r0 src/lib/libc/thread-stub/pthread-stub.c
cvs rdiff -r0 -r1.1.2.1 src/lib/libc/thread-stub/thread-stub.c
cvs rdiff -r1.8.2.20 -r1.8.2.21 src/lib/libpthread/Makefile
cvs rdiff -r1.1.2.41 -r1.1.2.42 src/lib/libpthread/pthread.c
cvs rdiff -r1.1.2.18 -r1.1.2.19 src/lib/libpthread/pthread.h
cvs rdiff -r1.1.2.5 -r1.1.2.6 src/lib/libpthread/pthread_cancelstub.c
cvs rdiff -r1.1.2.15 -r1.1.2.16 src/lib/libpthread/pthread_cond.c
cvs rdiff -r1.1.2.16 -r1.1.2.17 src/lib/libpthread/pthread_mutex.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/lib/libpthread/pthread_rwlock.c
cvs rdiff -r1.1.2.24 -r1.1.2.25 src/lib/libpthread/pthread_sig.c
cvs rdiff -r1.1.2.7 -r1.1.2.8 src/lib/libpthread/pthread_specific.c
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/lib/libpthread/sched.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.