Home
last modified time | relevance | path

Searched refs:busy_threads (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/realtime/func/hrtimer-prio/
H A Dhrtimer-prio.c24 * The busy_threads should run at a priority higher than the system
59 static int busy_threads; variable
93 busy_threads = atoi(v); in parse_args()
128 while (atomic_get(&busy_threads_started) < busy_threads) { in timer_thread()
155 busy_threads = 2 * sysconf(_SC_NPROCESSORS_ONLN); // default busy_threads in main()
172 printf("Running with %d busy threads\n", busy_threads); in main()
197 for (b = 0; b < busy_threads; b++) { in main()
/third_party/ltp/testcases/realtime/func/prio-preempt/
H A Dprio-preempt.c75 volatile int busy_threads = 0; variable
148 busy_threads++; in busy_thread()
256 while (busy_threads < (rt_threads - 1)) in master_thread()

Completed in 2 milliseconds