summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/thread/thr_kern.c')
-rw-r--r--lib/libthr/thread/thr_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_kern.c b/lib/libthr/thread/thr_kern.c
index 481cc83..b3dae7d 100644
--- a/lib/libthr/thread/thr_kern.c
+++ b/lib/libthr/thread/thr_kern.c
@@ -56,13 +56,13 @@ void
_thread_critical_enter(pthread_t pthread)
{
_thread_sigblock();
- THR_LOCK(&pthread->lock);
+ UMTX_LOCK(&pthread->lock);
}
void
_thread_critical_exit(pthread_t pthread)
{
- THR_UNLOCK(&pthread->lock);
+ UMTX_UNLOCK(&pthread->lock);
_thread_sigunblock();
}
OpenPOWER on IntegriCloud