Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [nathanw_sa] basesrc/lib/libpthread/arch/i386



Module Name:    basesrc
Committed By:   nathanw
Date:           Tue Jul 31 00:12:03 UTC 2001

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

Log Message:
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 -r1.1.2.8 -r1.1.2.9 \
    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.




Home | Main Index | Thread Index | Old Index