Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dthread.cpp37 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()
Dthread.h23 int GetPriority(DWORD thread_id);
24 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
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()
Dthread.h22 int GetPriority(int thread_id);
23 int SetPriority(int thread_id, int prio);
/arkcompiler/runtime_core/libpandabase/tests/
Dbase_thread_test.cpp23 uint32_t thread_id = 0; variable
37 thread_id = GetCurrentThreadId(); in ThreadFunc()
79 auto child_pid = thread_id;