Lines Matching refs:thread_id
104 create_thread(uint32_t thread_id, uint32_t priority, bool fixpri, in create_thread() argument
123 (void*)(uintptr_t)thread_id), "pthread_create"); in create_thread()
127 threads[thread_id].thread = new_thread; in create_thread()
151 uint32_t thread_id = (uint32_t) arg; in spin_thread() local
154 snprintf(name, sizeof(name), "spin thread %2d", thread_id); in spin_thread()
234 for (uint32_t thread_id = 0; thread_id < n_spinners; thread_id++) { variable
235 threads[thread_id].thread = create_thread(thread_id, THR_SPINNER_PRI,
239 for (uint32_t thread_id = 0; thread_id < n_spinners; thread_id++) { variable
250 for (uint32_t thread_id = 0; thread_id < n_spinners; thread_id++) { variable
251 T_ASSERT_POSIX_ZERO(pthread_join(threads[thread_id].thread, NULL),
252 "pthread_join %d", thread_id);