NetBSD/lib/libpthread/arch/i386
nathanw 9639eeaf54 Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc
and use it preferentially to a value in pt_uc, clearing it once on the new
stack. Move stores into pt_uc back to before the stack switch; storing
after the stack switch opened a one-instruction race condition where an upcall
that had just started a chain could be preempted again, and would bomb when
restarted due to its pt_uc not yet having been updated. Now that pt_trapuc
is what the upcall code writes to, it is safe to store to pt_uc before
switching stacks.

Remove obsolete pt_sleepuc code.
2003-06-26 01:45:31 +00:00
..
_context_u.S
_getsetc.S
genassym.cf Remove PT_SLEEPUC and add PT_TRAPUC. 2003-06-26 01:29:28 +00:00
pthread_md.c add __RCSID() 2003-03-08 08:03:34 +00:00
pthread_md.h delint 2003-01-18 19:11:07 +00:00
pthread_switch.S Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00