From 2ced154094b1ba76e51108eff45803f60f6731ce Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 6 Jul 2003 10:18:48 +0000 Subject: Change all instances of THR_LOCK/UNLOCK, etc to UMTX_*. It is a more acurate description of the locks they operate on. --- lib/libthr/thread/thr_gc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libthr/thread/thr_gc.c') diff --git a/lib/libthr/thread/thr_gc.c b/lib/libthr/thread/thr_gc.c index 0948996..1f6bc6b 100644 --- a/lib/libthr/thread/thr_gc.c +++ b/lib/libthr/thread/thr_gc.c @@ -106,7 +106,7 @@ _thread_gc(pthread_addr_t arg) if (pthread == _thread_initial) continue; - THR_LOCK(&pthread->lock); + UMTX_LOCK(&pthread->lock); /* * Check if the stack was not specified by @@ -128,7 +128,7 @@ _thread_gc(pthread_addr_t arg) * it on the dead thread list. */ if ((pthread->attr.flags & PTHREAD_DETACHED) == 0) { - THR_UNLOCK(&pthread->lock); + UMTX_UNLOCK(&pthread->lock); continue; } @@ -141,7 +141,7 @@ _thread_gc(pthread_addr_t arg) */ pthread_cln = pthread; - THR_UNLOCK(&pthread->lock); + UMTX_UNLOCK(&pthread->lock); /* * Retire the architecture specific id so it may be -- cgit v1.1