Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread/arch/i386
To: None <>
From: Nathan J Williams <>
List: source-changes
Date: 07/25/2001 00:38:08
Module Name:	basesrc
Committed By:	nathanw
Date:		Tue Jul 24 21:38:08 UTC 2001

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

Log Message:
Substantial rework:
 - Make pthread__switch() just a plain switch, and move the
   switch-to-next code to pthread__switch_away. Saves a stack switch,
   test, and branch in the pthread_switch case, a _getcontext_u() and
   associated stack frobbing in the switch_away case, and several
   points of sanity.
 - Remove a poorly-thought-out ucontext-dodge in STACK_SWITCH.
 - Fill in PT_SWITCHTO and PT_SWITCHTOUC in the new_preempt path as
   well as the old_preempt path in pthread__locked_switch() and

To generate a diff of this commit:
cvs rdiff -r1.1.2.6 -r1.1.2.7 \

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