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_cancel.c | |
| parent | 964407197732fe475fe8f9a54cb68884dd447a94 (diff) | |
Notes
Diffstat (limited to 'lib/libthr/thread/thr_cancel.c')
| -rw-r--r-- | lib/libthr/thread/thr_cancel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_cancel.c b/lib/libthr/thread/thr_cancel.c index 180607c9a57b..d27b4b3293dc 100644 --- a/lib/libthr/thread/thr_cancel.c +++ b/lib/libthr/thread/thr_cancel.c @@ -80,13 +80,13 @@ retry: * Disconnect the thread from the joinee: */ if ((joined = pthread->join_status.thread) != NULL) { - THR_TRYLOCK(&joined->lock, ret); + UMTX_TRYLOCK(&joined->lock, ret); if (ret == EBUSY) { _thread_critical_exit(pthread); goto retry; } pthread->join_status.thread->joiner = NULL; - THR_UNLOCK(&joined->lock); + UMTX_UNLOCK(&joined->lock); joined = pthread->join_status.thread = NULL; } pthread->cancelflags |= PTHREAD_CANCELLING; |
