diff options
| author | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-06 10:18:48 +0000 |
|---|---|---|
| committer | Mike Makonnen <mtm@FreeBSD.org> | 2003-07-06 10:18:48 +0000 |
| commit | 659045ffbfab93ae8438b07e81c09da1271bd9d8 (patch) | |
| tree | 314e5a3ea0c37ba2ab164337eae32bb02e9f5383 /lib/libthr/thread/thr_mutex.c | |
| parent | 964407197732fe475fe8f9a54cb68884dd447a94 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_mutex.c')
| -rw-r--r-- | lib/libthr/thread/thr_mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index e47fb60634e8..722772b8eec8 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); |
