Home
last modified time | relevance | path

Searched refs:GetCurrentThreadId (Results 1 – 25 of 61) sorted by relevance

123

/arkcompiler/runtime_core/libpandabase/tests/
Dbase_thread_test.cpp37 thread_id = GetCurrentThreadId(); in ThreadFunc()
53 auto ret1 = SetPriority(GetCurrentThreadId(), LOWER_PRIOIRITY);
54 auto prio1 = GetPriority(GetCurrentThreadId());
57 auto ret2 = SetPriority(GetCurrentThreadId(), LOWEST_PRIORITY);
58 auto prio2 = GetPriority(GetCurrentThreadId());
72 auto parent_pid = GetCurrentThreadId();
Dlogger_test.cpp67 uint32_t tid = os::thread::GetCurrentThreadId();
151 uint32_t tid = os::thread::GetCurrentThreadId();
170 uint32_t tid = os::thread::GetCurrentThreadId();
193 uint32_t tid = os::thread::GetCurrentThreadId();
238 uint32_t tid = os::thread::GetCurrentThreadId();
251 uint32_t tid = os::thread::GetCurrentThreadId();
303 uint32_t tid = os::thread::GetCurrentThreadId();
329 uint32_t tid = os::thread::GetCurrentThreadId();
351 uint32_t tid = os::thread::GetCurrentThreadId();
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dbase_thread_test.cpp39 g_curThreadId = GetCurrentThreadId(); in ThreadFunc()
57 auto ret1 = SetPriority(GetCurrentThreadId(), LOWER_PRIOIRITY); in TEST_F()
58 auto prio1 = GetPriority(GetCurrentThreadId()); in TEST_F()
61 auto ret2 = SetPriority(GetCurrentThreadId(), LOWEST_PRIORITY); in TEST_F()
62 auto prio2 = GetPriority(GetCurrentThreadId()); in TEST_F()
76 auto parentPid = GetCurrentThreadId(); in TEST_F()
Dlogger_test.cpp59 uint32_t tid = os::thread::GetCurrentThreadId(); in DEATH_TEST()
143 uint32_t tid = os::thread::GetCurrentThreadId(); in DEATH_TEST()
162 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
185 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
230 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
243 uint32_t tid = os::thread::GetCurrentThreadId(); in DEATH_TEST()
291 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
322 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
344 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
367 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
[all …]
Ddfx_test.cpp123 uint32_t tid = os::thread::GetCurrentThreadId(); in TEST()
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dmutex.cpp34 current_tid = os::thread::GetCurrentThreadId(); in PostFork()
136 current_tid = os::thread::GetCurrentThreadId(); in WriteLock()
220 current_tid = os::thread::GetCurrentThreadId(); in TryWriteLock()
249 current_tid = os::thread::GetCurrentThreadId(); in WriteUnlock()
299 current_tid = os::thread::GetCurrentThreadId(); in Wait()
356 current_tid = os::thread::GetCurrentThreadId(); in TimedWait()
419 current_tid = os::thread::GetCurrentThreadId(); in SignalCount()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_env.h43 if (multiThreadCheckValue_.exchange(JSThread::GetCurrentThreadId()) != 0) { in Push()
52 if (multiThreadCheckValue_.exchange(JSThread::GetCurrentThreadId()) != 0) { in Remove()
Dsnapshot_env.cpp48 if (multiThreadCheckValue_.exchange(JSThread::GetCurrentThreadId()) != 0) { in Iterate()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dthread.cpp26 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
29 return ::GetCurrentThreadId(); in GetCurrentThreadId()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
Dmutex.cpp34 current_tid = ark::os::thread::GetCurrentThreadId(); in PostFork()
154 current_tid = ark::os::thread::GetCurrentThreadId(); in WriteLock()
225 current_tid = ark::os::thread::GetCurrentThreadId(); in TryWriteLock()
254 current_tid = ark::os::thread::GetCurrentThreadId(); in WriteUnlock()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dthread.cpp26 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
29 return ::GetCurrentThreadId(); in GetCurrentThreadId()
/arkcompiler/runtime_core/libpandabase/utils/
Ddebug.cpp28 std::cerr << "Backtrace [tid=" << os::thread::GetCurrentThreadId() << "]:\n"; in AssertionFail()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Ddebug.cpp34 std::cerr << "Backtrace [tid=" << os::thread::GetCurrentThreadId() << "]:\n"; in AssertionFail()
Dlogger.cpp136 std::cerr << "Backtrace [tid=" << os::thread::GetCurrentThreadId() << "]:\n"; in ~Message()
177 …return helpers::string::Format("[TID %06x] %s/%s: ", os::thread::GetCurrentThreadId(), GetLevelTag… in GetPrefix()
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dstackful_coroutine_worker.cpp28 threadId_(os::thread::GetCurrentThreadId()), in StackfulCoroutineWorker()
156 threadId_ = os::thread::GetCurrentThreadId(); in ThreadProc()
169 ASSERT(threadId_ == os::thread::GetCurrentThreadId()); in ThreadProc()
/arkcompiler/ets_runtime/ecmascript/taskpool/
Dtaskpool.cpp84 && dThread->GetThreadId() == JSThread::GetCurrentThreadId()); in IsDaemonThreadOrInThreadPool()
/arkcompiler/ets_runtime/ecmascript/jit/
Djit_dfx.cpp59 SetPidNumber(JSThread::GetCurrentThreadId()); in Init()
87 uint32_t threadId = os::thread::GetCurrentThreadId(); in GetLogFileStream()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dthread.cpp39 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_gc_marker.cpp108 if (os::thread::GetCurrentThreadId() != dThread->GetThreadId()) { in ProcessMarkStack()
156 if (os::thread::GetCurrentThreadId() != dThread->GetThreadId()) { in ProcessMarkStack()
/arkcompiler/runtime_core/static_core/runtime/dprofiler/
Ddprofiler.cpp68 …akePandaUnique<dprof::ProfilingData>(appName.data(), GetHash(), os::thread::GetCurrentThreadId())), in DProfiler()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dcpu_affinity.cpp237 << (tid != 0 ? tid : thread::GetCurrentThreadId()) in GetThreadAffinity()
257 … << " for thread with tid = " << (tid != 0 ? tid : thread::GetCurrentThreadId()) in SetAffinityForThread()
Dthread.cpp36 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_coroutine.h46 …auto co = allocator->New<EtsCoroutine>(os::thread::GetCurrentThreadId(), allocator, vm, std::move(…
/arkcompiler/runtime_core/static_core/runtime/tests/
Dsignal_handler_test.cpp62 managedThread_ = os::thread::GetCurrentThreadId(); in Start()
/arkcompiler/runtime_core/static_core/runtime/
Dthread_pool.h173 proc->SetTid(os::thread::GetCurrentThreadId()); in Help()
258 proc->SetTid(os::thread::GetCurrentThreadId()); in WorkerEntry()

123