Home
last modified time | relevance | path

Searched refs:key_destructor (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/bionic/
Dpthread_key.cpp52 atomic_uintptr_t key_destructor; member
94 key_destructor_t key_destructor = reinterpret_cast<key_destructor_t>( in pthread_key_clean_all() local
95 atomic_load_explicit(&key_map[i].key_destructor, memory_order_relaxed)); in pthread_key_clean_all()
96 if (key_destructor == nullptr) { in pthread_key_clean_all()
111 (*key_destructor)(data); in pthread_key_clean_all()
124 int pthread_key_create(pthread_key_t* key, void (*key_destructor)(void*)) { in pthread_key_create()
129 atomic_store(&key_map[i].key_destructor, reinterpret_cast<uintptr_t>(key_destructor)); in pthread_key_create()