Home | History | Annotate | Download | only in crypto

Lines Matching defs:arg

30 static DWORD WINAPI thread_run(LPVOID arg) {
33 memcpy(&thread_func, &arg, sizeof(thread_func));
39 void *arg;
41 memcpy(&arg, &thread_func, sizeof(arg));
44 0 /* default stack size */, thread_run, arg,
59 static void *thread_run(void *arg) {
60 void (*thread_func)(void) = arg;
116 static void thread_local_destructor(void *arg) {
117 if (arg == NULL) {
121 unsigned *count = arg;