Home
last modified time | relevance | path

Searched refs:rt_thread_attrs (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/sched/eas/
Dsched_latency_rt.c95 pthread_attr_t rt_thread_attrs; in run() local
108 ERROR_CHECK(pthread_attr_init(&rt_thread_attrs)); in run()
109 ERROR_CHECK(pthread_attr_setinheritsched(&rt_thread_attrs, in run()
111 ERROR_CHECK(pthread_attr_setschedpolicy(&rt_thread_attrs, in run()
114 ERROR_CHECK(pthread_attr_setschedparam(&rt_thread_attrs, in run()
127 SAFE_PTHREAD_CREATE(&rt_thread, &rt_thread_attrs, rt_fn, NULL); in run()
Dsched_prio_3_rr.c125 pthread_attr_t rt_thread_attrs; in create_rt_thread() local
128 ERROR_CHECK(pthread_attr_init(&rt_thread_attrs)); in create_rt_thread()
129 ERROR_CHECK(pthread_attr_setinheritsched(&rt_thread_attrs, in create_rt_thread()
131 ERROR_CHECK(pthread_attr_setschedpolicy(&rt_thread_attrs, in create_rt_thread()
134 ERROR_CHECK(pthread_attr_setschedparam(&rt_thread_attrs, in create_rt_thread()
137 SAFE_PTHREAD_CREATE(rt_thread, &rt_thread_attrs, fn, NULL); in create_rt_thread()
Dsched_prio_3_fifo.c327 pthread_attr_t rt_thread_attrs; in create_rt_thread() local
330 ERROR_CHECK(pthread_attr_init(&rt_thread_attrs)); in create_rt_thread()
331 ERROR_CHECK(pthread_attr_setinheritsched(&rt_thread_attrs, in create_rt_thread()
333 ERROR_CHECK(pthread_attr_setschedpolicy(&rt_thread_attrs, in create_rt_thread()
336 ERROR_CHECK(pthread_attr_setschedparam(&rt_thread_attrs, in create_rt_thread()
339 SAFE_PTHREAD_CREATE(rt_thread, &rt_thread_attrs, fn, NULL); in create_rt_thread()