Subject: CVS commit: [nathanw_sa] basesrc/lib/libpthread/arch/i386
To: None <firstname.lastname@example.org>
From: Nathan J Williams <email@example.com>
Date: 07/25/2001 00:38:08
Module Name: basesrc
Committed By: nathanw
Date: Tue Jul 24 21:38:08 UTC 2001
basesrc/lib/libpthread/arch/i386 [nathanw_sa]: pthread_switch.S
- 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 -r188.8.131.52 -r184.108.40.206 \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.