Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/platforms/windows/libpandabase/
H A 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()
H A Dthread.h23 int GetPriority(DWORD thread_id);
24 int SetPriority(DWORD thread_id, int prio);
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A 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()
H A Dthread.h22 int GetPriority(int thread_id);
23 int SetPriority(int thread_id, int prio);
/arkcompiler/runtime_core/libpandabase/tests/
H A Dbase_thread_test.cpp23 uint32_t thread_id = 0; member
37 thread_id = GetCurrentThreadId(); in ThreadFunc()
76 // wait for the new_thread to update thread_id in HWTEST_F()
79 auto child_pid = thread_id; in HWTEST_F()

Completed in 2 milliseconds