Searched refs:thread_id (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/runtime_core/platforms/windows/libpandabase/ |
D | thread.cpp | 37 int SetPriority(DWORD thread_id, int prio) in SetPriority() argument 42 HANDLE thread = OpenThread(THREAD_SET_INFORMATION, false, thread_id); in SetPriority() 52 int GetPriority(DWORD thread_id) in GetPriority() argument 54 HANDLE thread = OpenThread(THREAD_QUERY_INFORMATION, false, thread_id); in GetPriority()
|
D | thread.h | 23 int GetPriority(DWORD thread_id); 24 int SetPriority(DWORD thread_id, int prio);
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/ |
D | thread.cpp | 59 int SetPriority(int thread_id, int prio) in SetPriority() argument 65 return setpriority(PRIO_PROCESS, thread_id, prio); in SetPriority() 68 int GetPriority(int thread_id) in GetPriority() argument 70 return getpriority(PRIO_PROCESS, thread_id); in GetPriority()
|
D | thread.h | 22 int GetPriority(int thread_id); 23 int SetPriority(int thread_id, int prio);
|
/arkcompiler/runtime_core/libpandabase/tests/ |
D | base_thread_test.cpp | 23 uint32_t thread_id = 0; variable 37 thread_id = GetCurrentThreadId(); in ThreadFunc() 79 auto child_pid = thread_id;
|