Lines Matching refs:thread_func
36 void (*thread_func)(void);
38 OPENSSL_memcpy(&thread_func, &arg, sizeof(thread_func));
39 thread_func();
43 static int run_thread(thread_t *out_thread, void (*thread_func)(void)) {
46 OPENSSL_memcpy(&arg, &thread_func, sizeof(arg));
67 void (*thread_func)(void) = reinterpret_cast<void (*)(void)>(arg);
68 thread_func();
72 static int run_thread(thread_t *out_thread, void (*thread_func)(void)) {
74 reinterpret_cast<void *>(thread_func)) == 0;