Subject: CVS commit: [wrstuden-fixsa] src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Bill Stouder-Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 09/25/2007 05:38:50
Module Name: src
Committed By: wrstuden
Date: Tue Sep 25 05:38:50 UTC 2007
Modified Files:
src/lib/libpthread [wrstuden-fixsa]: pthread_sig.c
Log Message:
Fix a comment about MP locking. Remove it and adapt the code
to close a race window. Only grab the target's state lock at most once;
don't lock it, release it, then lock it again. Remember if we locked it
early.
To generate a diff of this commit:
cvs rdiff -r1.47.4.3 -r1.47.4.4 src/lib/libpthread/pthread_sig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.