Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/20/2007 23:33:10
Module Name:	src
Committed By:	ad
Date:		Tue Mar 20 23:33:10 UTC 2007

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

Log Message:
- Maintain a per-thread pointer to the last mutex acquired by the app, to
  be used only as as a hint. Clear the pointer when releasing the mutex.
- When releasing a mutex, wake all waiters. Makes it possible to tranfer
  waiters from another object to a mutex.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 src/lib/libpthread/pthread_int.h
cvs rdiff -r1.26 -r1.27 src/lib/libpthread/pthread_mutex.c

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