Home
last modified time | relevance | path

Searched refs:IsHeld (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_sync_primitives.cpp52 bool EtsMutex::IsHeld() in IsHeld() function in ark::ets::EtsMutex
106 ASSERT(mutex->IsHeld()); in Wait()
117 ASSERT(mutex->IsHeld()); in NotifyOne()
126 ASSERT(mutex->IsHeld()); in NotifyAll()
H A Dets_promise.h223 ASSERT(mutex->IsHeld()); in Unlock()
231 return mutex->IsHeld(); in IsLocked()
H A Dets_sync_primitives.h140 bool IsHeld();
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
H A Dfmutex.cpp98 bool IsHeld(struct fmutex *const m, THREAD_ID thread) in IsHeld() function
176 if (IsHeld(m, current_tid)) { in MutexLock()
182 ASSERT(!IsHeld(m, current_tid)); in MutexLock()
260 if (!IsHeld(m, current_tid)) { in MutexUnlock()
312 if (!IsHeld(m, thread)) { in MutexUnlockForOther()
H A Dmutex.cpp301 if (!mutex->IsHeld(current_tid)) { in Wait()
358 if (!mutex->IsHeld(current_tid)) { in TimedWait()
427 if (mutex->IsHeld(current_tid)) { in SignalCount()
H A Dmutex.h97 bool IsHeld(thread::ThreadId thread) in IsHeld() function
99 return futex::IsHeld(&mutex_, thread); in IsHeld()
H A Dfmutex.h106 bool IsHeld(struct fmutex *const m, THREAD_ID thread);
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
H A Dfmutex.cpp97 bool IsHeld(struct fmutex *const m, THREAD_ID thread) in IsHeld() function
195 if (m->recursiveMutex && IsHeld(m, current_tid)) { in MutexLock()
201 [[maybe_unused]] bool isHeld = IsHeld(m, current_tid); in MutexLock()
267 if (!IsHeld(m, current_tid)) { in MutexUnlock()
322 if (!IsHeld(m, thread)) { in MutexUnlockForOther()
385 if (!IsHeld(m, current_tid)) { in Wait()
431 if (!IsHeld(m, current_tid)) { in TimedWait()
510 if (IsHeld(mutex, current_tid)) { in SignalCount()
H A Dmutex.h96 bool IsHeld(ark::os::thread::ThreadId thread) in IsHeld() function
98 return futex::IsHeld(&mutex_, thread); in IsHeld()
H A Dfmutex.h112 bool IsHeld(struct fmutex *const m, THREAD_ID thread);

Completed in 15 milliseconds