summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
-rw-r--r--lib/libthr/thread/thr_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c
index e47fb60..722772b 100644
--- a/lib/libthr/thread/thr_mutex.c
+++ b/lib/libthr/thread/thr_mutex.c
@@ -1291,9 +1291,9 @@ _mutex_lock_backout(pthread_t pthread)
/* _thread_kern_sig_defer();*/
/* XXX - Necessary to obey lock order */
- THR_LOCK(&pthread->lock);
+ UMTX_LOCK(&pthread->lock);
mutex = pthread->data.mutex;
- THR_UNLOCK(&pthread->lock);
+ UMTX_UNLOCK(&pthread->lock);
_SPINLOCK(&mutex->lock);
OpenPOWER on IntegriCloud