diff options
author | rpj <rpj> | 2010-02-15 14:13:58 +0000 |
---|---|---|
committer | rpj <rpj> | 2010-02-15 14:13:58 +0000 |
commit | 135d6f060c5e5232311af77bd0d0f500e861290c (patch) | |
tree | 1b8a6c26c2e7cfbee073a7c138a564296934882a /pthread_join.c | |
parent | 866c278580edc88765929fdbc5235d15bab44d3d (diff) |
Comments and code style changes
Diffstat (limited to 'pthread_join.c')
-rw-r--r-- | pthread_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_join.c b/pthread_join.c index 72a3a74..3804327 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 (result == 0) + if (0 == result) { /* * 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). This is guarranteed because + * detached (destroyed) by us. This is guarranteed because * pthreadCancelableWait will not return if we * are canceled. */ |