From 94215f2da07fdfa99146f081e85dc070397aaf0f Mon Sep 17 00:00:00 2001 From: mtm Date: Tue, 20 May 2003 18:48:41 +0000 Subject: [PATCH] Move a misplaced comment. Approved by: markm/mentor (implicit), re/blanket libthr --- lib/libthr/thread/thr_join.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthr/thread/thr_join.c b/lib/libthr/thread/thr_join.c index 02d314241552..35b52bc5b44d 100644 --- a/lib/libthr/thread/thr_join.c +++ b/lib/libthr/thread/thr_join.c @@ -104,7 +104,6 @@ _pthread_join(pthread_t pthread, void **thread_return) ret = ENOTSUP; goto out; - /* Check if the thread is not dead: */ } /* * Unlock the garbage collector mutex, now that the garbage collector @@ -113,6 +112,7 @@ _pthread_join(pthread_t pthread, void **thread_return) if (pthread_mutex_unlock(&_gc_mutex) != 0) PANIC("Cannot lock gc mutex"); + /* Check if the thread is not dead: */ if (pthread->state != PS_DEAD) { /* Set the running thread to be the joiner: */ pthread->joiner = curthread;