Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 08/02/2001 02:37:37
Module Name:	basesrc
Committed By:	nathanw
Date:		Wed Aug  1 23:37:37 UTC 2001

Modified Files:
	basesrc/lib/libpthread [nathanw_sa]: pthread_sa.c

Log Message:
Add some debugging framework I've been using a lot (can easily be
compiled out).

Bugfix 1: In the new_preempt case, it is possible for victim and
switchto to point to the same thing. Don't but one thread on the
runqueue twice when this happens.

Bugfix 2 (along with changes to pthread_switch.S and pthread_int.h):
Restore the useful ucontext of a thread that is preempted on the
original stack in pthread__locked_switch().


To generate a diff of this commit:
cvs rdiff -r1.1.2.9 -r1.1.2.10 basesrc/lib/libpthread/pthread_sa.c

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