| 120 | } thread_starter_arg; |
| 121 | |
| 122 | static void* |
| 123 | thread_starter(void* argptr) { |
| 124 | thread_starter_arg* arg = argptr; |
| 125 | void* (*real_start)(void*) = arg->real_start; |
| 126 | void* real_arg = arg->real_arg; |
| 127 | rpmalloc_thread_initialize(); |
| 128 | rpfree(argptr); |
| 129 | pthread_setspecific(destructor_key, (void*)1); |
| 130 | return (*real_start)(real_arg); |
| 131 | } |
| 132 | |
| 133 | static void |
| 134 | thread_destructor(void* value) { |
nothing calls this directly
no test coverage detected