Home
last modified time | relevance | path

Searched refs:sched (Results 1 – 6 of 6) sorted by relevance

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/
DSchedNdk.test.ets17 import sched from 'libschedndk.so'
31 let result:number = sched.schedCpualloc();
45 let result:number = sched.schedGetPriorityMax(testParam);
60 let result:number = sched.schedGetPriorityMax(testParam);
75 let result:number = sched.schedGetPriorityMin(testParam);
90 let result:number = sched.schedGetPriorityMin(testParam);
104 let result:number = sched.sched_yield();
115 let result:number = sched.sched_getscheduler(-1);
130 let result:number = sched.sched_setparam(-1);
144 let result:number = sched.sched_setparam(0);
[all …]
/test/xts/device_attest/services/devattest_ability/src/
Ddevattest_task.cpp46 struct sched_param sched = {static_cast<int>(priority)}; in CreateThread() local
47 pthread_attr_setschedparam(&attr, &sched); in CreateThread()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dschedndk.cpp144 int sched = PARAM_0; in SchedSetscheduler() local
146 sched = SCHED_FIFO; in SchedSetscheduler()
150 int schval = sched_setscheduler(pid, sched, &param); in SchedSetscheduler()
153 int schval = sched_setscheduler(pid, sched, nullptr); in SchedSetscheduler()
Dsemaphorendk.cpp138 struct sched_param sched = {PARAM_0}; in SemPost() local
139 sched.sched_priority = PARAM_0; in SemPost()
140 pthread_setschedparam(tid, SCHED_OTHER, &sched); in SemPost()
Dpthreadndk1.cpp131 int sched; in PThreadAttrGetInheritSched() local
134 int ret = pthread_attr_getinheritsched(&attr, &sched); in PThreadAttrGetInheritSched()
136 ret |= sched != PTHREAD_EXPLICIT_SCHED; in PThreadAttrGetInheritSched()
291 int sched; in PThreadAttrSetInheritSched_One() local
294 pthread_attr_getinheritsched(&attr, &sched); in PThreadAttrSetInheritSched_One()
296 ret |= sched != PTHREAD_EXPLICIT_SCHED; in PThreadAttrSetInheritSched_One()
1371 sched_param sched; in PThreadSetSchedParam() local
1372 sched.sched_priority = PARAM_0; in PThreadSetSchedParam()
1376 int ret = pthread_setschedparam(threadId, SCHED_OTHER, &sched); in PThreadSetSchedParam()
/test/xts/acts/commonlibrary/toolchain/libc-test/
DBUILD.gn42 "//third_party/musl/porting/linux/user/src/sched",