freebsd-dev/lib/libpthread/arch/i386
David Xu 4949943c48 In _thread_enter_uts, fix eflags saving bug.
In _thread_switch, set current thread pointer in kse mailbox
only after all registers copied out of thread mailbox, kernel will do
upcall at trap time, if set current thread pointer before loading all
registers from thread mailbox, at trap time, the thread mailbox data
will be overwritten by kernel, result is junk data is loaded into CPU.
2002-11-22 11:43:06 +00:00
..
i386 In _thread_enter_uts, fix eflags saving bug. 2002-11-22 11:43:06 +00:00