From a3ea0b24409b89bd08c0a2268dbae834724734df Mon Sep 17 00:00:00 2001 From: rpj Date: Sun, 20 Jun 2010 03:31:18 +0000 Subject: See ChangeLogs: preparing for new release. --- pthread_join.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pthread_join.c') diff --git a/pthread_join.c b/pthread_join.c index 3804327..72a3a74 100644 --- a/pthread_join.c +++ b/pthread_join.c @@ -104,7 +104,7 @@ pthread_join (pthread_t thread, void **value_ptr) LeaveCriticalSection (&ptw32_thread_reuse_lock); - if (0 == result) + if (result == 0) { /* * The target thread is joinable and can't be reused before we join it. @@ -124,7 +124,7 @@ pthread_join (pthread_t thread, void **value_ptr) /* * Pthread_join is a cancelation point. * If we are canceled then our target thread must not be - * detached (destroyed) by us. This is guarranteed because + * detached (destroyed). This is guarranteed because * pthreadCancelableWait will not return if we * are canceled. */ -- cgit v1.2.3