Searched refs:sched_priority (Results 1 – 13 of 13) sorted by relevance
66 if ((param == NULL) || (param->sched_priority < aos_sched_get_priority_min(kpolicy)) in sched_setscheduler()67 || (param->sched_priority > aos_sched_get_priority_max(kpolicy))) { in sched_setscheduler()72 priority = sched_priority_posix2rhino(kpolicy, param->sched_priority); in sched_setscheduler()89 ptcb->attr.sched_priority = param->sched_priority; in sched_setscheduler()135 if ((param == NULL) || (param->sched_priority < aos_sched_get_priority_min(kpolicy)) in sched_setparam()136 || (param->sched_priority > aos_sched_get_priority_max(kpolicy))) { in sched_setparam()141 priority = sched_priority_posix2rhino(kpolicy, param->sched_priority); in sched_setparam()148 ptcb->attr.sched_priority = param->sched_priority; in sched_setparam()179 ret = aos_task_pri_get(&(ptcb->task), (uint8_t *)¶m->sched_priority); in sched_getparam()188 param->sched_priority = sched_priority_rhino2posix(kpolicy, param->sched_priority); in sched_getparam()
20 attr->sched_priority = PTHREAD_DEFAULT_PRIORITY; in pthread_attr_init()94 attr->sched_priority = param->sched_priority; in pthread_attr_setschedparam()105 param->sched_priority = attr->sched_priority; in pthread_attr_getschedparam()
177 kpriority = sched_priority_posix2rhino(kpolicy, ptcb->attr.sched_priority); in pthread_create()380 param->sched_priority = sched_priority_rhino2posix(kpolicy, priority); in pthread_getschedparam()403 if ((param == NULL) || (param->sched_priority < aos_sched_get_priority_min(kpolicy)) in pthread_setschedparam()404 || (param->sched_priority > aos_sched_get_priority_max(kpolicy))) { in pthread_setschedparam()408 priority = sched_priority_posix2rhino(kpolicy, param->sched_priority); in pthread_setschedparam()419 ptcb->attr.sched_priority = param->sched_priority; in pthread_setschedparam()
256 sched.sched_priority = sched_get_priority_min(policy); in SDL_SYS_SetThreadPriority()258 sched.sched_priority = sched_get_priority_max(policy); in SDL_SYS_SetThreadPriority()267 sched.sched_priority = 45; in SDL_SYS_SetThreadPriority()269 sched.sched_priority = 37; in SDL_SYS_SetThreadPriority()274 sched.sched_priority = (min_priority + (max_priority - min_priority) / 2); in SDL_SYS_SetThreadPriority()276 sched.sched_priority += ((max_priority - min_priority) / 4); in SDL_SYS_SetThreadPriority()
24 int sched_priority; /* process execution scheduling priority */ member
65 int sched_priority; /* The thread scheduling priority */ member
100 sched.sched_priority = 32; in rws_thread_create()102 sched.sched_priority = 3; in rws_thread_create()
114 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_example_loopback_init()
205 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_wav_init()
276 sched.sched_priority = 1; in u_irq_thread_create()278 sched.sched_priority = prio; in u_irq_thread_create()
113 sched.sched_priority = CAP_DEFAULT_PRIORITY; in create_cap_task()
126 sched.sched_priority = PB_DEFAULT_PRIORITY; in create_pb_task()
90 param.sched_priority = param.sched_curpriority + 15; in QSA_ThreadInit()
Completed in 13 milliseconds