Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/posix/common/src/
Dpthread_key.c129 struct sched_param schedparam; in test_posix_multiple_threads_single_key() local
150 schedparam.sched_priority = 2; in test_posix_multiple_threads_single_key()
151 pthread_attr_setschedparam(&attr[i], &schedparam); in test_posix_multiple_threads_single_key()
178 struct sched_param schedparam; in test_posix_single_thread_multiple_keys() local
195 schedparam.sched_priority = 2; in test_posix_single_thread_multiple_keys()
196 pthread_attr_setschedparam(&attr, &schedparam); in test_posix_single_thread_multiple_keys()
Dpthread.c72 struct sched_param schedparam; in thread_top_exec() local
74 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec()
76 id, policy, schedparam.sched_priority); in thread_top_exec()
237 struct sched_param schedparam, getschedparam; in test_posix_pthread_execution() local
247 schedparam.sched_priority = CONFIG_NUM_COOP_PRIORITIES - 1; in test_posix_pthread_execution()
252 schedparam.sched_priority < min_prio || in test_posix_pthread_execution()
253 schedparam.sched_priority > max_prio); in test_posix_pthread_execution()
260 ret = pthread_attr_setschedparam(&attr[0], &schedparam); in test_posix_pthread_execution()
334 pthread_attr_setschedparam(&attr[i], &schedparam); in test_posix_pthread_execution()
336 zassert_equal(schedparam.sched_priority, in test_posix_pthread_execution()
[all …]
Dsemaphore.c17 struct sched_param schedparam; variable
32 schedparam.sched_priority = 1; in initialize_thread_attr()
44 pthread_attr_setschedparam(attr, &schedparam); in initialize_thread_attr()
Dmutex.c66 struct sched_param schedparam; in test_posix_normal_mutex() local
70 schedparam.sched_priority = 2; in test_posix_normal_mutex()
81 pthread_attr_setschedparam(&attr, &schedparam); in test_posix_normal_mutex()
Dposix_rwlock.c60 struct sched_param schedparam; in test_posix_rw_lock() local
89 schedparam.sched_priority = i + 1; in test_posix_rw_lock()
90 pthread_attr_setschedparam(&attr[i], &schedparam); in test_posix_rw_lock()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c87 const struct sched_param *schedparam) in pthread_attr_setschedparam() argument
89 int priority = schedparam->sched_priority; in pthread_attr_setschedparam()
580 struct sched_param *schedparam) in pthread_attr_getschedparam() argument
586 schedparam->sched_priority = attr->priority; in pthread_attr_getschedparam()
/Zephyr-Core-2.7.6/include/posix/
Dpthread.h488 struct sched_param *schedparam);
504 const struct sched_param *schedparam);