Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 03/14/2004 01:19:42
Module Name:	src
Committed By:	cl
Date:		Sun Mar 14 01:19:42 UTC 2004

Modified Files:
	src/lib/libpthread: pthread.c pthread_alarms.c pthread_debug.c
	    pthread_debug.h pthread_int.h pthread_lock.c pthread_mutex.c
	    pthread_run.c pthread_sa.c

Log Message:
add libpthread part of concurrency support for SA on MP systems
- enable concurrency according to environment variable PTHREAD_CONCURRENCY
- add idle VP wakeup if there are additional jobs and idle VPs
- make reidlequeue per VP
- enable spinning for locks
- fix race condition in alarm processing
- fix race condition in mutex locking
- make debugging output line buffered and add VP prefix to debug lines


To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 src/lib/libpthread/pthread.c
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/pthread_alarms.c
cvs rdiff -r1.7 -r1.8 src/lib/libpthread/pthread_debug.c \
    src/lib/libpthread/pthread_debug.h
cvs rdiff -r1.25 -r1.26 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.10 -r1.11 src/lib/libpthread/pthread_lock.c
cvs rdiff -r1.17 -r1.18 src/lib/libpthread/pthread_mutex.c
cvs rdiff -r1.16 -r1.17 src/lib/libpthread/pthread_run.c
cvs rdiff -r1.29 -r1.30 src/lib/libpthread/pthread_sa.c

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