summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>2005-05-16 02:36:48 +0000
committerrpj <rpj>2005-05-16 02:36:48 +0000
commit09799a6fc1b6fca7e82c8e8ec3c1bdc06548e425 (patch)
tree5e4aab7a6616fa7954bcef65db087ab8ef9d0cce
parent46ae637c4ef03a921d4a06baf99219c6149a7d20 (diff)
''
-rw-r--r--pthread_detach.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pthread_detach.c b/pthread_detach.c
index 01f1d40..00fb6ad 100644
--- a/pthread_detach.c
+++ b/pthread_detach.c
@@ -127,8 +127,7 @@ pthread_detach (pthread_t thread)
if (destroyIt)
{
/* The thread has exited or is exiting but has not been joined or
- * detached. Need to wait if it's still running - shouldn't have
- * to wait long.
+ * detached. Need to wait in case it's still exiting.
*/
(void) WaitForSingleObject(tp->threadH, INFINITE);
ptw32_threadDestroy (thread);