diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/hurd/pt-key-delete.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/hurd/pt-key-delete.c b/sysdeps/hurd/pt-key-delete.c index 9d88647..8b2c8bb 100644 --- a/sysdeps/hurd/pt-key-delete.c +++ b/sysdeps/hurd/pt-key-delete.c @@ -40,7 +40,7 @@ pthread_key_delete (pthread_key_t key) __pthread_key_destructors[key] = PTHREAD_KEY_INVALID; __pthread_key_invalid_count ++; - pthread_rwlock_rdlock (&__pthread_threads_lock); + __pthread_rwlock_rdlock (&__pthread_threads_lock); for (i = 0; i < __pthread_num_threads; ++i) { struct __pthread *t; @@ -55,7 +55,7 @@ pthread_key_delete (pthread_key_t key) if (t->thread_specifics) hurd_ihash_remove (t->thread_specifics, key); } - pthread_rwlock_unlock (&__pthread_threads_lock); + __pthread_rwlock_unlock (&__pthread_threads_lock); } __pthread_mutex_unlock (&__pthread_key_lock); |