Home
last modified time | relevance | path

Searched refs:schedparam (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/posix/common/src/
Dmutex.c53 struct sched_param schedparam; in test_mutex_common() local
55 schedparam.sched_priority = 2; in test_mutex_common()
Dpthread.c62 struct sched_param schedparam; in thread_top_exec() local
64 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec()
66 id, policy, schedparam.sched_priority); in thread_top_exec()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h417 struct sched_param *schedparam);
443 const struct sched_param *schedparam);
/Zephyr-latest/lib/posix/options/
Dpthread.c325 int pthread_attr_setschedparam(pthread_attr_t *_attr, const struct sched_param *schedparam) in pthread_attr_setschedparam() argument
329 if (!__attr_is_initialized(attr) || schedparam == NULL || in pthread_attr_setschedparam()
330 !is_posix_policy_prio_valid(schedparam->sched_priority, attr->schedpolicy)) { in pthread_attr_setschedparam()
335 attr->priority = schedparam->sched_priority; in pthread_attr_setschedparam()
1401 int pthread_attr_getschedparam(const pthread_attr_t *_attr, struct sched_param *schedparam) in pthread_attr_getschedparam() argument
1405 if (!__attr_is_initialized(attr) || (schedparam == NULL)) { in pthread_attr_getschedparam()
1409 schedparam->sched_priority = attr->priority; in pthread_attr_getschedparam()