diff options
Diffstat (limited to 'pthread_key_delete.c')
-rw-r--r-- | pthread_key_delete.c | 2 |
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 */ } } |