NetBSD/lib/libpthread/arch
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
..
alpha Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
arm Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
i386 Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
m68k Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
mips Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
powerpc Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
sh3 First bits of SH3 support. Only _context_u.S is implemented (passess 2003-06-23 19:34:43 +00:00
sh5 Apply Nathan's switch-away fix and previous save-PT_UC from new stack fix. 2003-06-13 08:07:03 +00:00
sparc Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
sparc64 Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00
vax Define FPREG macros even though we don't have any. 2003-01-20 01:49:36 +00:00
x86_64 Adapt to pt_trapuc: change STACK_SWITCH to check for a value in pt_trapuc 2003-06-26 01:45:31 +00:00