freebsd-nq/lib/libthr/arch/i386
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
Makefile.inc