Home
last modified time | relevance | path

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

/xnu-11215/tests/sched/
H A Dthread_group_fairness.c131 start_threads(pthread_t *threads, struct thread_data *thread_datas, work_interval_t *handle, uint32… in start_threads() argument
135 thread_datas[i].handle = handle; in start_threads()
136 thread_datas[i].work_interval_flags = work_interval_flags; in start_threads()
137 ret = pthread_create(&threads[i], NULL, spin_thread_fn, &thread_datas[i]); in start_threads()
/xnu-11215/tests/
H A Dwork_interval_data_test.c187 start_helper_threads(unsigned int num_threads, pthread_t *threads, struct thread_data *thread_datas, in start_helper_threads() argument
192 thread_datas[i].wi_handle = wi_handle; in start_helper_threads()
193 thread_datas[i].wi_port = wi_port; in start_helper_threads()
194 thread_datas[i].num_iterations = num_iterations; in start_helper_threads()
195 thread_datas[i].interval_nanos = interval_nanos; in start_helper_threads()
196 ret = pthread_create(&threads[i], NULL, coreaudio_workload_fn, &thread_datas[i]); in start_helper_threads()