Home
last modified time | relevance | path

Searched refs:sched_priority (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/posix/src/
A Dsched.c66 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 *)&param->sched_priority); in sched_getparam()
188 param->sched_priority = sched_priority_rhino2posix(kpolicy, param->sched_priority); in sched_getparam()
A Dpthread_attr.c20 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()
A Dpthread.c177 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()
/AliOS-Things-master/components/SDL2/src/thread/pthread/
A DSDL_systhread.c256 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()
/AliOS-Things-master/components/posix/include/
A Dsched.h24 int sched_priority; /* process execution scheduling priority */ member
A Dpthread.h65 int sched_priority; /* The thread scheduling priority */ member
/AliOS-Things-master/components/websocket/src/
A Drws_thread.c100 sched.sched_priority = 32; in rws_thread_create()
102 sched.sched_priority = 3; in rws_thread_create()
/AliOS-Things-master/components/a2sa/example/
A Dsound_example_lb.c114 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_example_loopback_init()
A Dsound_example_wav.c205 sched.sched_priority = AUDIO_PLAYER_DEFAULT_PRIORITY; in sound_wav_init()
/AliOS-Things-master/components/drivers/core/base/core/
A Du_interrupt.c276 sched.sched_priority = 1; in u_irq_thread_create()
278 sched.sched_priority = prio; in u_irq_thread_create()
/AliOS-Things-master/components/a2sa/src/driver/platform/rtos/
A Dcap_task.c113 sched.sched_priority = CAP_DEFAULT_PRIORITY; in create_cap_task()
A Dpb_task.c126 sched.sched_priority = PB_DEFAULT_PRIORITY; in create_pb_task()
/AliOS-Things-master/components/SDL2/src/audio/qsa/
A DSDL_qsa_audio.c90 param.sched_priority = param.sched_curpriority + 15; in QSA_ThreadInit()

Completed in 13 milliseconds