Lines Matching refs:pthread
191 void set_thread_fifo(pthread_t pthread, int prio) in set_thread_fifo() argument
196 if (pthread_setschedparam(pthread, SCHED_FIFO, &sp) == -1) in set_thread_fifo()
235 void set_thread_normal(pthread_t pthread) in set_thread_normal() argument
240 if (pthread_setschedparam(pthread, SCHED_OTHER, &sp) == -1) in set_thread_normal()
753 create_pthread(&ringthreads[i].pthread, NULL, in emulate_ring()
764 join_pthread(ringthreads[i].pthread, NULL); in emulate_ring()
853 create_pthread(&hackthread.pthread, NULL, hackbench_thread, (void *) 0); in emulate_hackbench()
860 join_pthread(hackthread.pthread, NULL); in emulate_hackbench()
1205 join_pthread(th->pthread, NULL); in stop_thread()
1230 create_pthread(&th->pthread, NULL, emulation_thread, (void*)(long)i); in initialise_thread()
1306 set_thread_fifo(thi->pthread, 95); in run_benchchild()
1323 set_thread_normal(thi->pthread); in run_benchchild()