K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-05-23T23:39:31.000000Z K 7 svn:log V 412 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 END