Home
last modified time | relevance | path

Searched refs:cpu_threads (Results 1 – 2 of 2) sorted by relevance

/linux/arch/um/os-Linux/
H A Dsmp.c29 static pthread_t cpu_threads[CONFIG_NR_CPUS]; variable
61 err = pthread_create(&cpu_threads[cpu], NULL, cpu_thread, data); in os_start_cpu_thread()
96 return pthread_sigqueue(cpu_threads[cpu], IPI_SIGNAL, value); in os_send_ipi()
147 cpu_threads[0] = pthread_self(); in os_init_smp()
/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c81 pthread_t cpu_threads[MAX_CPUS]; variable
187 if (cpu_threads[i]) { in shutdown()
188 pthread_kill(cpu_threads[i], SIGUSR1); in shutdown()
189 pthread_join(cpu_threads[i], NULL); in shutdown()
315 if (cpu_threads[i] == pthread_self()) in fake_cont_thread()
330 if (cpu_threads[i] == pthread_self()) in cont_thread()
438 t = &cpu_threads[0]; in perf_test_thread()
444 if (pthread_getcpuclockid(cpu_threads[0], &clock) != 0) in perf_test_thread()
735 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, in main()
742 pthread_join(cpu_threads[0], &retval); in main()