summaryrefslogtreecommitdiff
path: root/pthread_key_delete.c
diff options
context:
space:
mode:
authorrpj <rpj>2007-11-22 14:14:57 +0000
committerrpj <rpj>2007-11-22 14:14:57 +0000
commit25ffdcfc06e8a84497fd7e80aa4cef111d7dad2d (patch)
treee1a03422251b1556d6770458edf71a5475f7cf36 /pthread_key_delete.c
parentb1dc8324d03053ffb427424c8de046863757d8ec (diff)
''
Diffstat (limited to 'pthread_key_delete.c')
-rw-r--r--pthread_key_delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_key_delete.c b/pthread_key_delete.c
index 7da9b2f..0737e9e 100644
--- a/pthread_key_delete.c
+++ b/pthread_key_delete.c
@@ -119,7 +119,7 @@ pthread_key_delete (pthread_key_t key)
/* A thread could be holding the keyLock */
while (EBUSY == pthread_mutex_destroy (&(key->keyLock)))
{
- Sleep(1); // Ugly.
+ Sleep(0); /* Ugly */
}
}