Searched refs:rw_thread_per_cpu (Results 1 – 2 of 2) sorted by relevance
181 pthread_t rw_thread_per_cpu; in rw_thread_run() local183 ret = pthread_create(&rw_thread_per_cpu, NULL, rw_thread_main, rw_ti); in rw_thread_run()189 return rw_thread_per_cpu; in rw_thread_run()
225 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop() local229 rw_thread_per_cpu[cpu] = rw_thread_run(s->rw_ti[cpu]); in agent_main_loop()237 ret = pthread_join(rw_thread_per_cpu[cpu], NULL); in agent_main_loop()