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

Modified Files:
	basesrc/lib/libpthread/arch/i386 [nathanw_sa]: pthread_switch.S

Log Message:
Rework the whole" ucontext vs. temporary crud on the bottom of the
stack" thing again, placing the burden of weirdness on STACK_SWITCH.

Add a lot of comments to explain why this is so tricky, and document
which functions are external.

In the old_preempt case of pthread__locked switch, save the thread's
real context so we don't try to switch back into the middle of this
code more than once.


To generate a diff of this commit:
cvs rdiff -r1.1.2.10 -r1.1.2.11 \
    basesrc/lib/libpthread/arch/i386/pthread_switch.S

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