| 39 | |
| 40 | static acl_pthread_key_t once_key; |
| 41 | static void once_init(void) |
| 42 | { |
| 43 | if ((unsigned long) acl_pthread_self() == acl_main_thread_self()) { |
| 44 | acl_pthread_key_create(&once_key, dummy); |
| 45 | #if !defined(HAVE_NO_ATEXIT) |
| 46 | atexit(main_free_tls); |
| 47 | #endif |
| 48 | } else |
| 49 | acl_pthread_key_create(&once_key, free_tls); |
| 50 | } |
| 51 | |
| 52 | static acl_pthread_once_t once_control = ACL_PTHREAD_ONCE_INIT; |
| 53 | static void *tls_calloc(size_t len) |
nothing calls this directly
no test coverage detected
searching dependent graphs…