From 7f75cc45e943577f1bfd1324bb39e212b9531d54 Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 29 Jun 2003 23:51:04 +0000 Subject: Sweep through pthread locking and use the new locking primitives for libthr. --- lib/libthr/thread/thr_mutex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libthr/thread/thr_mutex.c') diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 40921ec6..067f0f0 100644 --- a/lib/libthr/thread/thr_mutex.c +++ b/lib/libthr/thread/thr_mutex.c @@ -1263,9 +1263,9 @@ _mutex_lock_backout(pthread_t pthread) /* _thread_kern_sig_defer();*/ /* XXX - Necessary to obey lock order */ - _SPINLOCK(&pthread->lock); + THR_LOCK(&pthread->lock); mutex = pthread->data.mutex; - _SPINUNLOCK(&pthread->lock); + THR_UNLOCK(&pthread->lock); _SPINLOCK(&mutex->lock); -- cgit v1.1