Home
last modified time | relevance | path

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

12

/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/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.cpp64 uint32_t tid = os::thread::GetCurrentThreadId();
148 uint32_t tid = os::thread::GetCurrentThreadId();
167 uint32_t tid = os::thread::GetCurrentThreadId();
190 uint32_t tid = os::thread::GetCurrentThreadId();
235 uint32_t tid = os::thread::GetCurrentThreadId();
248 uint32_t tid = os::thread::GetCurrentThreadId();
297 uint32_t tid = os::thread::GetCurrentThreadId();
323 uint32_t tid = os::thread::GetCurrentThreadId();
345 uint32_t tid = os::thread::GetCurrentThreadId();
/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()
Dfmutex.h50 #define GET_CURRENT_THREAD os::thread::GetCurrentThreadId() // NOLINT(cppcoreguideli…
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dthread.cpp26 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
29 return ::GetCurrentThreadId(); in GetCurrentThreadId()
/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.cpp33 current_tid = panda::os::thread::GetCurrentThreadId(); in PostFork()
135 current_tid = panda::os::thread::GetCurrentThreadId(); in WriteLock()
219 current_tid = panda::os::thread::GetCurrentThreadId(); in TryWriteLock()
248 current_tid = panda::os::thread::GetCurrentThreadId(); in WriteUnlock()
/arkcompiler/runtime_core/libpandabase/utils/
Ddebug.cpp28 std::cerr << "Backtrace [tid=" << os::thread::GetCurrentThreadId() << "]:\n"; in AssertionFail()
Dlogger.cpp147 std::cerr << "Backtrace [tid=" << os::thread::GetCurrentThreadId() << "]:\n"; in ~Message()
188 …return helpers::string::Format("[TID %06x] %s/%s: ", os::thread::GetCurrentThreadId(), GetLevelTag… in GetPrefix()
/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 id_(os::thread::GetCurrentThreadId()), in StackfulCoroutineWorker()
151 id_ = os::thread::GetCurrentThreadId(); in ThreadProc()
162 ASSERT(id_ == os::thread::GetCurrentThreadId()); in ThreadProc()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.h176 …thread_->GetThreadId() != JSThread::GetCurrentThreadId() && !thread_->IsCrossThreadExecutionEnable… in CheckThread()
179 << " currentThread:" << JSThread::GetCurrentThreadId(); in CheckThread()
188 …if (thread_->GetThreadId() != JSThread::GetCurrentThreadId() && !thread_->IsCrossThreadExecutionEn… in GetAndFastCheckJSThread()
191 << " currentThread:" << JSThread::GetCurrentThreadId(); in GetAndFastCheckJSThread()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dthread.cpp39 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/
Dcpu_affinity.cpp228 << (tid != 0 ? tid : thread::GetCurrentThreadId()) in GetThreadAffinity()
248 … << " for thread with tid = " << (tid != 0 ? tid : thread::GetCurrentThreadId()) in SetAffinityForThread()
Dthread.cpp40 ThreadId GetCurrentThreadId() in GetCurrentThreadId() function
/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/plugins/ets/runtime/
Dets_coroutine.h44 …auto co = allocator->New<EtsCoroutine>(os::thread::GetCurrentThreadId(), allocator, vm, std::move(…
/arkcompiler/ets_runtime/ecmascript/taskpool/
Drunner.cpp86 gcThreadId_.emplace_back(os::thread::GetCurrentThreadId()); in RecordThreadId()
/arkcompiler/runtime_core/static_core/runtime/
Dthread_pool.h173 proc->SetTid(os::thread::GetCurrentThreadId()); in Help()
258 proc->SetTid(os::thread::GetCurrentThreadId()); in WorkerEntry()
/arkcompiler/runtime_core/static_core/runtime/tests/
Dsignal_handler_test.cpp62 managedThread_ = os::thread::GetCurrentThreadId(); in Start()
/arkcompiler/runtime_core/libpandabase/os/
Dthread.h41 ThreadId GetCurrentThreadId();

12