summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_create.c
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-23 23:39:31 +0000
committermtm <mtm@FreeBSD.org>2003-05-23 23:39:31 +0000
commit3c92bdad80f3c5a47974bb2498852b95bb93bab5 (patch)
tree1a11ef81d4552811d60feb14870b307d678c5b8c /lib/libpthread/thread/thr_create.c
parent7cd751dbd6cdde4a9ed12d2ef1578f4ecc3cd934 (diff)
downloadFreeBSD-src-3c92bdad80f3c5a47974bb2498852b95bb93bab5.zip
FreeBSD-src-3c92bdad80f3c5a47974bb2498852b95bb93bab5.tar.gz
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
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud