Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dthread.cpp37 int SetPriority(DWORD thread_id, int prio) in SetPriority() argument
40 ASSERT(prio >= -2); // -2: the lowest priority in SetPriority()
41 ASSERT(prio <= 2); // 2: the highest priority in SetPriority()
46 auto ret = SetThreadPriority(thread, prio); in SetPriority()
Dthread.h24 int SetPriority(DWORD thread_id, int prio);
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dthread.cpp59 int SetPriority(int thread_id, int prio) in SetPriority() argument
62 ASSERT(prio <= 19); // 19: the lowest priority in SetPriority()
63 ASSERT(prio >= -20); // -20: the highest priority in SetPriority()
65 return setpriority(PRIO_PROCESS, thread_id, prio); in SetPriority()
Dthread.h23 int SetPriority(int thread_id, int prio);