Searched refs:prio (Results 1 – 4 of 4) sorted by relevance
37 int SetPriority(DWORD thread_id, int prio) in SetPriority() argument40 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()
24 int SetPriority(DWORD thread_id, int prio);
59 int SetPriority(int thread_id, int prio) in SetPriority() argument62 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()
23 int SetPriority(int thread_id, int prio);