diff options
author | kib <kib@FreeBSD.org> | 2015-02-17 01:03:06 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-02-17 01:03:06 +0000 |
commit | 0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc (patch) | |
tree | 6c211c0db8606bd913bc7ca6b008edcddc8f1cd3 /lib/libthr/thread/thr_private.h | |
parent | c30b890b0bb2a5cdb5c6bf8b1b31ac21d986f650 (diff) | |
download | FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.zip FreeBSD-src-0cb0cb1b24a8ada17d71f3f1cad36e89d0c0ccfc.tar.gz |
MFC r278751:
Properly interpose libc spinlocks, was missed in r276630.
Diffstat (limited to 'lib/libthr/thread/thr_private.h')
-rw-r--r-- | lib/libthr/thread/thr_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index d62de98..3597485 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -928,6 +928,10 @@ int __thr_sigwait(const sigset_t *set, int *sig); int __thr_sigwaitinfo(const sigset_t *set, siginfo_t *info); int __thr_swapcontext(ucontext_t *oucp, const ucontext_t *ucp); +struct _spinlock; +void __thr_spinunlock(struct _spinlock *lck); +void __thr_spinlock(struct _spinlock *lck); + __END_DECLS #endif /* !_THR_PRIVATE_H */ |