Lines Matching defs:cpu_threads
81 pthread_t cpu_threads[MAX_CPUS];
187 if (cpu_threads[i]) {
188 pthread_kill(cpu_threads[i], SIGUSR1);
189 pthread_join(cpu_threads[i], NULL);
315 if (cpu_threads[i] == pthread_self())
329 if (cpu_threads[i] == pthread_self())
436 t = &cpu_threads[0];
442 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0)
733 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func,
740 pthread_join(cpu_threads[0], &retval);