summaryrefslogtreecommitdiff
path: root/pthread_join.c
diff options
context:
space:
mode:
authorrpj <rpj>2010-06-20 03:31:18 +0000
committerrpj <rpj>2010-06-20 03:31:18 +0000
commita3ea0b24409b89bd08c0a2268dbae834724734df (patch)
tree4629fd085756226f0cee8beba4faf66466ef0410 /pthread_join.c
parent135d6f060c5e5232311af77bd0d0f500e861290c (diff)
See ChangeLogs: preparing for new release.
Diffstat (limited to 'pthread_join.c')
-rw-r--r--pthread_join.c4
1 files changed, 2 insertions, 2 deletions
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.
*/