/ark/runtime_core/libpandabase/os/unix/futex/ |
D | mutex.cpp | 400 void ConditionVariable::Wait(Mutex *mutex) in Wait() argument 405 if (!mutex->IsHeld(current_tid)) { in Wait() 411 while (!mutex_ptr_.compare_exchange_weak(old_mutex, mutex, std::memory_order_relaxed)) { in Wait() 413 if (old_mutex != mutex && old_mutex != nullptr) { in Wait() 419 mutex->IncrementWaiters(); in Wait() 420 auto old_count = mutex->recursive_count_; in Wait() 421 mutex->recursive_count_ = 1; in Wait() 423 mutex->Unlock(); in Wait() 430 mutex->Lock(); in Wait() 431 mutex->recursive_count_ = old_count; in Wait() [all …]
|
D | mutex.h | 269 void Wait(Mutex *mutex) NO_THREAD_SAFETY_ANALYSIS; 271 …bool TimedWait(Mutex *mutex, uint64_t ms, uint64_t ns = 0, bool is_absolute = false) NO_THREAD_SAF…
|
/ark/runtime_core/runtime/mem/gc/ |
D | crossing_map_singleton.cpp | 25 os::memory::Mutex CrossingMapSingleton::mutex; // NOLINT(fuchsia-statically-constructed-objects) member in panda::mem::CrossingMapSingleton 30 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Create() 55 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Destroy()
|
D | crossing_map_singleton.h | 60 static os::memory::Mutex mutex; variable
|
/ark/runtime_core/libpandabase/os/unix/ |
D | mutex.cpp | 166 void ConditionVariable::Wait(Mutex *mutex) in Wait() argument 168 int rc = pthread_cond_wait(&cond_, &mutex->mutex_); in Wait() 189 bool ConditionVariable::TimedWait(Mutex *mutex, uint64_t ms, uint64_t ns, bool is_absolute /* = fal… in TimedWait() argument 192 int rc = pthread_cond_timedwait(&cond_, &mutex->mutex_, &abs_time); in TimedWait()
|
D | mutex.h | 95 void Wait(Mutex *mutex); 97 bool TimedWait(Mutex *mutex, uint64_t ms, uint64_t ns = 0, bool is_absolute = false);
|
/ark/runtime_core/runtime/tests/ |
D | multithreaded_intern_string_table_test.cpp | 80 std::unique_lock<std::mutex> lk(pre_lock_); in PreCheck() 105 std::unique_lock<std::mutex> lk(post_lock_); in PostFree() 131 std::mutex pre_lock_; 134 std::mutex post_lock_;
|
D | mem_stats_test.cpp | 355 …rConcurrency(MemStatsDefault &stats, std::condition_variable &ready_to_start, std::mutex &cv_mutex, in FillMemStatsForConcurrency() 359 std::unique_lock<std::mutex> lock_for_ready_to_start(cv_mutex); in FillMemStatsForConcurrency() 403 std::mutex cv_mutex; in TEST_F()
|
/ark/runtime_core/libpandabase/utils/ |
D | dfx.cpp | 21 os::memory::Mutex DfxController::mutex; // NOLINT(fuchsia-statically-constructed-objects) member in panda::DfxController 113 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Initialize() 131 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Initialize() 186 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Destroy()
|
D | logger.cpp | 32 os::memory::Mutex Logger::mutex; // NOLINT(fuchsia-statically-constructed-objects) member in panda::Logger 87 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Log() 139 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in InitializeFileLogging() 172 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in InitializeStdLogging() 196 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in InitializeDummyLogging() 217 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in Destroy()
|
D | dfx.h | 96 static os::memory::Mutex mutex; variable
|
D | logger.h | 308 static os::memory::Mutex mutex; variable
|
/ark/js_runtime/ecmascript/tooling/ |
D | protocol_handler.cpp | 36 std::unique_lock<std::mutex> queueLock(requestLock_); in DispatchCommand() 47 std::unique_lock<std::mutex> queueLock(requestLock_); in GetDispatchStatus() 59 std::unique_lock<std::mutex> queueLock(requestLock_); in ProcessCommand()
|
D | protocol_handler.h | 62 std::mutex requestLock_;
|
/ark/runtime_core/libpandabase/ |
D | BUILD.gn | 49 "$ark_root/libpandabase/os/unix/mutex.cpp", 100 "$ark_root/libpandabase/os/unix/futex/mutex.cpp", 105 libarkbase_sources += [ "$ark_root/libpandabase/os/unix/mutex.cpp" ]
|
D | CMakeLists.txt | 60 ${PANDA_ROOT}/libpandabase/os/unix/futex/mutex.cpp 64 ${PANDA_ROOT}/libpandabase/os/unix/mutex.cpp 80 ${PANDA_ROOT}/libpandabase/os/unix/mutex.cpp
|
/ark/runtime_core/runtime/include/ |
D | runtime.h | 99 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in GetCurrentSync() 371 static os::memory::Mutex mutex; variable
|
/ark/runtime_core/cmake/toolchain/ |
D | cross-clang-9-x86_64-w64-mingw32-static.cmake | 24 # std::thread and std::mutex. Use "posix" instead.
|
D | cross-clang-8-x86_64-w64-mingw32-static.cmake | 24 # std::thread and std::mutex. Use "posix" instead.
|
/ark/runtime_core/runtime/ |
D | runtime.cpp | 78 os::memory::Mutex Runtime::mutex; // NOLINT(fuchsia-statically-constructed-objects) member in panda::Runtime 211 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in CreateInstance() 271 os::memory::LockHolder<os::memory::Mutex> lock(mutex); in DestroyUnderLockHolder()
|
/ark/runtime_core/libpandabase/events/ |
D | events_gen.h.erb | 22 #include "os/mutex.h"
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 115 static os::memory::Mutex mutex; variable 165 os::memory::LockHolder lock(mutex); in CreateJSVM() 189 os::memory::LockHolder lock(mutex); in DestroyJSVM()
|