Home
last modified time | relevance | path

Searched refs:schedpolicy (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-2.7.6/tests/posix/common/src/
Dmutex.c67 int schedpolicy = SCHED_FIFO; in test_posix_normal_mutex() local
80 pthread_attr_setschedpolicy(&attr, schedpolicy); in test_posix_normal_mutex()
126 int schedpolicy = SCHED_FIFO; in test_posix_recursive_mutex() local
139 pthread_attr_setschedpolicy(&attr2, schedpolicy); in test_posix_recursive_mutex()
Dsemaphore.c18 int schedpolicy = SCHED_FIFO; variable
43 pthread_attr_setschedpolicy(attr, schedpolicy); in initialize_thread_attr()
Dpthread.c239 int schedpolicy = SCHED_FIFO; in test_posix_pthread_execution() local
248 min_prio = sched_get_priority_min(schedpolicy); in test_posix_pthread_execution()
249 max_prio = sched_get_priority_max(schedpolicy); in test_posix_pthread_execution()
266 ret = pthread_attr_setschedpolicy(&attr[0], schedpolicy); in test_posix_pthread_execution()
329 pthread_attr_setschedpolicy(&attr[i], schedpolicy); in test_posix_pthread_execution()
331 zassert_equal(schedpolicy, policy, in test_posix_pthread_execution()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c27 .schedpolicy = SCHED_RR,
29 .schedpolicy = SCHED_FIFO,
92 (is_posix_prio_valid(priority, attr->schedpolicy) == false)) { in pthread_attr_setschedparam()
166 prio = posix_to_zephyr_priority(attr->priority, attr->schedpolicy); in pthread_create()
520 *policy = attr->schedpolicy; in pthread_attr_getschedpolicy()
537 attr->schedpolicy = policy; in pthread_attr_setschedpolicy()
/Zephyr-Core-2.7.6/include/posix/
Dposix_types.h42 uint32_t schedpolicy; member