From 09799a6fc1b6fca7e82c8e8ec3c1bdc06548e425 Mon Sep 17 00:00:00 2001 From: rpj Date: Mon, 16 May 2005 02:36:48 +0000 Subject: '' --- pthread_detach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pthread_detach.c') 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); -- cgit v1.2.3