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 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
   pthread__upcall_switch().


To generate a diff of this commit:
cvs rdiff -r1.1.2.6 -r1.1.2.7 \
    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