| 70 | |
| 71 | static acl_pthread_key_t once_key; |
| 72 | static void once_init(void) |
| 73 | { |
| 74 | if ((unsigned long) acl_pthread_self() == acl_main_thread_self()) { |
| 75 | acl_pthread_key_create(&once_key, dummy); |
| 76 | #ifndef HAVE_NO_ATEXIT |
| 77 | atexit(main_free_tls); |
| 78 | #endif |
| 79 | } else |
| 80 | acl_pthread_key_create(&once_key, free_tls); |
| 81 | } |
| 82 | |
| 83 | static acl_pthread_once_t once_control = ACL_PTHREAD_ONCE_INIT; |
| 84 | static void *tls_calloc(size_t len) |
nothing calls this directly
no test coverage detected
searching dependent graphs…