Searched refs:rt_threads (Results 1 – 2 of 2) sorted by relevance
60 static int rt_threads = 0; variable86 rt_threads = atoi(v); in parse_args()110 while (running_threads < rt_threads) in master_thread()178 if (rt_threads == 0) { in main()180 rt_threads = numcpus; in main()182 wakeup.arr = malloc(rt_threads * sizeof(int)); in main()187 printf("Worker Threads: %d\n", rt_threads); in main()200 threads_per_prio = rt_threads / numprios; in main()201 if (rt_threads % numprios) in main()206 for (i = rt_threads; i > 0; i--) { in main()[all …]
78 static int rt_threads = -1; variable110 rt_threads = atoi(v); in parse_args()240 for (i = 0; i < rt_threads; i++) { in master_thread()249 for (i = rt_threads; i > 1; i--) { in master_thread()256 while (busy_threads < (rt_threads - 1)) in master_thread()303 if (rt_threads == -1 || rt_threads > numcpus) { in main()304 rt_threads = numcpus; in main()306 "should not exceed number of cpus(%d)\n", rt_threads, in main()315 printf("Busy Threads: %d\n", rt_threads); in main()