Subject: CVS commit: src/lib/libpthread
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 04/04/2003 04:08:28
Module Name:	src
Committed By:	nathanw
Date:		Fri Apr  4 01:08:26 UTC 2003

Modified Files:
	src/lib/libpthread: pthread_run.c

Log Message:
Don't call pthread__locked_switch() to switch to ourself. Bad stack
mangling results.

Fixes regression in test yield2, dating to 2003/1/2 when
pthread__locked_switch() was changed to not store the saved-context
pointer until after switching stacks.

Note to self: regression tests exist to be run.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/lib/libpthread/pthread_run.c

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