Searched refs:schedparam (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-2.7.6/tests/posix/common/src/ |
D | pthread_key.c | 129 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()
|
D | pthread.c | 72 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 …]
|
D | semaphore.c | 17 struct sched_param schedparam; variable 32 schedparam.sched_priority = 1; in initialize_thread_attr() 44 pthread_attr_setschedparam(attr, &schedparam); in initialize_thread_attr()
|
D | mutex.c | 66 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()
|
D | posix_rwlock.c | 60 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/ |
D | pthread.c | 87 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/ |
D | pthread.h | 488 struct sched_param *schedparam); 504 const struct sched_param *schedparam);
|