Subject: CVS commit: src/lib/libpthread
To: None <>
From: Chuck Silvers <>
List: source-changes
Date: 10/16/2005 00:07:24
Module Name:	src
Committed By:	chs
Date:		Sun Oct 16 00:07:24 UTC 2005

Modified Files:
	src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c
	    pthread_rwlock.c sem.c

Log Message:
in pthread_mutex_lock_slow(), pthread_rwlock_timedrdlock() and sem_wait(),
call pthread__start() if it hasn't already been called.  this avoids
an internal assertion from the library if these routines are used
before any threads are created and they need to sleep.
fixes PR 20256, PR 24241, PR 25722, PR 26096.

To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 src/lib/libpthread/pthread.c
cvs rdiff -r1.31 -r1.32 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.19 -r1.20 src/lib/libpthread/pthread_mutex.c
cvs rdiff -r1.11 -r1.12 src/lib/libpthread/pthread_rwlock.c
cvs rdiff -r1.7 -r1.8 src/lib/libpthread/sem.c

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