Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 11/17/2003 22:59:00
Module Name: src
Committed By: cl
Date: Mon Nov 17 22:59:00 UTC 2003
Modified Files:
src/lib/libpthread: pthread_sa.c
Log Message:
- delay processing unblocked threads until after locks are resolved:
without the blocked/unblocked upcall ordering, an interrupted blocked
upcall might put the blocked thread on the intqueue because it needs
to be continued. With the delayed processing, we avoid putting such a
thread twice on the runqueue.
- fix putting a thread on the intqueue when it needs to be continued
after it blocked.
Also check return value when returning a single stack.
To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 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.