Home
last modified time | relevance | path

Searched refs:run_cur_thread_dtors (Results 1 - 1 of 1) sorted by relevance

/third_party/musl/src/exit/
H A Dcxa_thread_atexit_impl.c40 void run_cur_thread_dtors(void *) in run_cur_thread_dtors() function
57 if (pthread_key_create(&dtors_key, run_cur_thread_dtors) != 0) { in cxa_thread_init()
65 * We can't register a destructor of libc for run_cur_thread_dtors because of deadlock problem:
66 * exit -> __libc_exit_fini[acquire init_fini_lock] -> run_cur_thread_dtors ->
72 run_cur_thread_dtors(NULL); in __cxa_thread_finalize()
79 // Bind dtors_key to current thread, so that `run_cur_thread_dtors` can be executed when thread exits. in __cxa_thread_atexit_impl()

Completed in 1 milliseconds