Home | History | Annotate | Download | only in src

Lines Matching defs:arg

23 	void		*arg;
33 static void *run_thread(void *arg)
35 thread_t *thread = arg;
41 result = thread->func(thread->arg);
52 int create_per_cpu_threads(cpu_set_t *cpus, thread_func_t func, void *arg)
66 thread->arg = arg;
86 int create_threads(int nthreads, thread_func_t func, void *arg)
97 thread->arg = arg;
100 err = pthread_create(&thread->thread, NULL, func, arg);