| 409 | } thread_starter_arg; |
| 410 | |
| 411 | static void* |
| 412 | thread_starter(void* argptr) { |
| 413 | thread_starter_arg* arg = argptr; |
| 414 | void* (*real_start)(void*) = arg->real_start; |
| 415 | void* real_arg = arg->real_arg; |
| 416 | rpmalloc_thread_initialize(); |
| 417 | rpfree(argptr); |
| 418 | pthread_setspecific(destructor_key, (void*)1); |
| 419 | return (*real_start)(real_arg); |
| 420 | } |
| 421 | |
| 422 | static void |
| 423 | thread_destructor(void* value) { |
nothing calls this directly
no test coverage detected