freebsd-dev/lib/libthr/arch
Mike Makonnen 59a47b31d0 Add two functions: _spinlock_pthread() and _spinunlock_pthread()
that take the address of a struct pthread as their first argument.
_spin[un]lock() just become wrappers arround these two functions.
These new functions are for use in situations where curthread can't be
used. One example is _thread_retire(), where we invalidate the array index
curthread uses to get its pointer..

Approved by:	re/blanket libthr
2003-05-23 23:39:31 +00:00
..
i386 Add two functions: _spinlock_pthread() and _spinunlock_pthread() 2003-05-23 23:39:31 +00:00
ia64 Add support for ia64. 2003-04-20 03:06:42 +00:00
sparc64 - Pass a ucontext_t to _set_curthread. If non-NULL the new thread is set 2003-04-03 03:34:50 +00:00