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/31/2001 03:12:03
Module Name: basesrc
Committed By: nathanw
Date: Tue Jul 31 00:12:03 UTC 2001
basesrc/lib/libpthread/arch/i386 [nathanw_sa]: pthread_switch.S
Actually, we *do* need pthread__switch in assembler, in order that
the ucontext_t be the last thing on the stack. Otherwise, the switch
code will overwrite stack data, since it sets the stack to pt_uc.
Use the UT_EIP symbolic constant.
When performing a new_preempt, store into pt_switchto and
pt_switchtouc of the *new* thread, so that resolve_locks stands a
chance of finding the switchto victim.
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.