/third_party/curl/tests/data/ |
D | test1554 | 22 -> Mutex lock 23 <- Mutex unlock 24 -> Mutex lock 25 <- Mutex unlock 26 -> Mutex lock 27 <- Mutex unlock 28 -> Mutex lock 29 <- Mutex unlock 30 -> Mutex lock 31 <- Mutex unlock [all …]
|
/third_party/boost/libs/interprocess/test/ |
D | upgradable_mutex_test.cpp | 30 typedef interprocess_upgradable_mutex Mutex; in main() typedef 31 Mutex mut; in main() 32 Mutex mut2; in main() 36 scoped_lock<Mutex> lock(mut); in main() 37 scoped_lock<Mutex> e_lock(boost::move(lock)); in main() 41 scoped_lock<Mutex> lock(mut); in main() 42 scoped_lock<Mutex> e_lock(mut2); in main() 46 upgradable_lock<Mutex> u_lock(mut); in main() 48 scoped_lock<Mutex> e_lock(boost::move(u_lock)); in main() 51 upgradable_lock<Mutex> u_lock(mut); in main() [all …]
|
D | condition_test_template.hpp | 60 template <class Condition, class Mutex> 68 Mutex mutex; 74 template <class Condition, class Mutex> 75 void condition_test_thread(condition_test_data<Condition, Mutex>* data) in condition_test_thread() 77 boost::interprocess::scoped_lock<Mutex> in condition_test_thread() 96 template <class Condition, class Mutex> 97 void condition_test_waits(condition_test_data<Condition, Mutex>* data) in condition_test_waits() 99 boost::interprocess::scoped_lock<Mutex> in condition_test_waits() 137 template <class Condition, class Mutex> 140 condition_test_data<Condition, Mutex> data; in do_test_condition_notify_one() [all …]
|
/third_party/boost/libs/thread/test/ |
D | test_lock_concept.cpp | 19 template<typename Mutex,typename Lock> 24 Mutex m; in operator ()() 32 template<typename Mutex,typename Lock> 35 Mutex m; 65 typedef test_initially_unlocked_if_other_thread_has_lock<Mutex,Lock> this_type; in operator ()() 90 template<typename Mutex,typename Lock> 93 Mutex m; 121 boost::unique_lock<Mutex> lock(m); in operator ()() 123 …typedef test_initially_unlocked_with_try_lock_if_other_thread_has_unique_lock<Mutex,Lock> this_typ… in operator ()() 148 template<typename Mutex,typename Lock> [all …]
|
/third_party/re2/util/ |
D | mutex.h | 34 class Mutex { 36 inline Mutex(); 37 inline ~Mutex(); 53 Mutex(Mutex *ignored); 55 Mutex(const Mutex&) = delete; 56 Mutex& operator=(const Mutex&) = delete; 66 Mutex::Mutex() { SAFE_PTHREAD(pthread_rwlock_init(&mutex_, NULL)); } in Mutex() function 67 Mutex::~Mutex() { SAFE_PTHREAD(pthread_rwlock_destroy(&mutex_)); } in ~Mutex() 68 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock(&mutex_)); } in Lock() 69 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock(&mutex_)); } in Unlock() [all …]
|
/third_party/boost/boost/thread/ |
D | lock_types.hpp | 33 template <typename Mutex> 36 template <typename Mutex> 39 template <typename Mutex> 44 template <typename Mutex> 98 template <typename Mutex> 102 Mutex* m; 106 explicit unique_lock(upgrade_lock<Mutex>&); 107 unique_lock& operator=(upgrade_lock<Mutex>& other); 109 typedef Mutex mutex_type; 121 explicit unique_lock(Mutex& m_) : in unique_lock() [all …]
|
D | lockable_concepts.hpp | 22 template <typename Mutex> 31 BasicLockable() : l(*static_cast<Mutex*>(0)) {} in BasicLockable() 35 Mutex& l; 45 template <typename Mutex> 48 BOOST_CONCEPT_ASSERT(( BasicLockable<Mutex> )); 54 Lockable() : l(*static_cast<Mutex*>(0)) {} in Lockable() 57 Mutex& l; 67 template <typename Mutex> 70 BOOST_CONCEPT_ASSERT(( Lockable<Mutex> )); 77 TimedLockable() : l(*static_cast<Mutex*>(0)) {} in TimedLockable() [all …]
|
D | lock_guard.hpp | 25 template <typename Mutex> 29 Mutex& m; 32 typedef Mutex mutex_type; 35 explicit lock_guard(Mutex& m_) BOOST_THREAD_ACQUIRE(m_) : in lock_guard() 41 lock_guard(Mutex& m_, adopt_lock_t) BOOST_THREAD_REQUIRES(m_) : in lock_guard() 50 lock_guard(std::initializer_list<thread_detail::lockable_wrapper<Mutex> > l_) : in lock_guard() 51 m(*(const_cast<thread_detail::lockable_wrapper<Mutex>*>(l_.begin())->m)) in lock_guard() 56 lock_guard(std::initializer_list<thread_detail::lockable_adopt_wrapper<Mutex> > l_) : in lock_guard() 57 m(*(const_cast<thread_detail::lockable_adopt_wrapper<Mutex>*>(l_.begin())->m)) in lock_guard()
|
D | poly_lockable_adapter.hpp | 20 template <typename Mutex, typename Base=poly_basic_lockable> 24 typedef Mutex mutex_type; 52 template <typename Mutex, typename Base=poly_lockable> 53 class poly_lockable_adapter : public poly_basic_lockable_adapter<Mutex, Base> 56 typedef Mutex mutex_type; 66 template <typename Mutex, typename Base=poly_timed_lockable> 67 class poly_timed_lockable_adapter: public poly_lockable_adapter<Mutex, Base> 70 typedef Mutex mutex_type;
|
/third_party/boost/boost/interprocess/detail/ |
D | robust_emulation.hpp | 184 template<class Mutex> 192 typedef robust_emulation_helpers::mutex_traits<Mutex> mutex_traits_t; 210 Mutex mtx; 217 template<class Mutex> 218 inline robust_spin_mutex<Mutex>::robust_spin_mutex() in robust_spin_mutex() 222 template<class Mutex> 223 inline void robust_spin_mutex<Mutex>::lock() in lock() 226 template<class Mutex> 227 inline bool robust_spin_mutex<Mutex>::try_lock() in try_lock() 252 template<class Mutex> [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deMutex.hpp | 37 class Mutex class 40 Mutex (deUint32 flags = 0); 41 ~Mutex (void); 48 Mutex (const Mutex& other); // Not allowed! 49 Mutex& operator= (const Mutex& other); // Not allowed! 64 ScopedLock (Mutex& mutex); 71 Mutex& m_mutex; 88 inline void Mutex::lock (void) throw() in lock() 102 inline void Mutex::unlock (void) throw() in unlock() 114 inline bool Mutex::tryLock (void) throw() in tryLock() [all …]
|
/third_party/grpc/src/core/lib/gprpp/ |
D | sync.h | 45 using Mutex = absl::Mutex; variable 53 inline gpr_mu* GetUnderlyingGprMu(Mutex* mutex) { in GetUnderlyingGprMu() 59 class ABSL_LOCKABLE Mutex { 61 Mutex() { gpr_mu_init(&mu_); } 62 ~Mutex() { gpr_mu_destroy(&mu_); } 64 Mutex(const Mutex&) = delete; 65 Mutex& operator=(const Mutex&) = delete; 77 friend gpr_mu* GetUnderlyingGprMu(Mutex* mutex); 83 inline gpr_mu* GetUnderlyingGprMu(Mutex* mutex) { return &mutex->mu_; } 87 explicit MutexLock(Mutex* mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { [all …]
|
/third_party/boost/boost/pool/ |
D | singleton_pool.hpp | 93 typename Mutex, 106 …typedef Mutex mutex; //!< The type of mutex used to synchonise access to this pool (default <tt>de… 118 struct pool_type: public Mutex, public pool<UserAllocator> 136 details::pool::guard<Mutex> g(p); in BOOST_PREVENT_MACRO_SUBSTITUTION() 142 details::pool::guard<Mutex> g(p); in ordered_malloc() 148 details::pool::guard<Mutex> g(p); in ordered_malloc() 155 details::pool::guard<Mutex> g(p); in is_from() 161 details::pool::guard<Mutex> g(p); in BOOST_PREVENT_MACRO_SUBSTITUTION() 167 details::pool::guard<Mutex> g(p); in ordered_free() 173 details::pool::guard<Mutex> g(p); in BOOST_PREVENT_MACRO_SUBSTITUTION() [all …]
|
D | pool_alloc.hpp | 149 typename Mutex, 157 typedef Mutex mutex; //!< typedef mutex publishes the value of the template parameter Mutex. 176 typedef pool_allocator<U, UserAllocator, Mutex, NextSize, MaxSize> other; 188 singleton_pool<pool_allocator_tag, sizeof(T), UserAllocator, Mutex, in pool_allocator() 198 pool_allocator(const pool_allocator<U, UserAllocator, Mutex, NextSize, MaxSize> &) in pool_allocator() argument 205 singleton_pool<pool_allocator_tag, sizeof(T), UserAllocator, Mutex, in pool_allocator() 246 singleton_pool<pool_allocator_tag, sizeof(T), UserAllocator, Mutex, in allocate() 271 singleton_pool<pool_allocator_tag, sizeof(T), UserAllocator, Mutex, in deallocate() 282 typename Mutex, 285 class pool_allocator<void, UserAllocator, Mutex, NextSize, MaxSize> [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | mutex.h | 53 class U_COMMON_API Mutex : public UMemory { 55 inline Mutex(UMutex *mutex = NULL); 56 inline ~Mutex(); 61 Mutex(const Mutex &other); // forbid copying of this class 62 Mutex &operator=(const Mutex &other); // forbid copying of this class 65 inline Mutex::Mutex(UMutex *mutex) in Mutex() function 71 inline Mutex::~Mutex() in ~Mutex()
|
/third_party/abseil-cpp/absl/synchronization/internal/ |
D | mutex_nonprod.cc | 199 Mutex::Mutex() {} in Mutex() function in absl::Mutex 201 Mutex::~Mutex() {} in ~Mutex() 203 void Mutex::Lock() { impl()->Lock(); } in Lock() 205 void Mutex::Unlock() { impl()->Unlock(); } in Unlock() 207 bool Mutex::TryLock() { return impl()->TryLock(); } in TryLock() 209 void Mutex::ReaderLock() { Lock(); } in ReaderLock() 211 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock() 213 void Mutex::Await(const Condition& cond) { impl()->Await(cond); } in Await() 215 void Mutex::LockWhen(const Condition& cond) { in LockWhen() 220 bool Mutex::AwaitWithDeadline(const Condition& cond, absl::Time deadline) { in AwaitWithDeadline() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex.h | 131 class ABSL_LOCKABLE Mutex { 139 Mutex(); 152 explicit constexpr Mutex(absl::ConstInitType); 154 ~Mutex(); 460 static void IncrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w); 461 static bool DecrementSynchSem(Mutex *mu, base_internal::PerThreadSynch *w, 490 Mutex(const volatile Mutex * /*ignored*/) {} // NOLINT(runtime/explicit) in Mutex() function 492 Mutex(const Mutex&) = delete; 493 Mutex& operator=(const Mutex&) = delete; 525 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock() [all …]
|
D | lifetime_test.cc | 41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne() 59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo() 76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests() 77 absl::Mutex default_mutex; in RunTests() 94 absl::Mutex mutex; in TestLocals() 100 ABSL_CONST_INIT absl::Mutex const_init_mutex(absl::kConstInit); 133 extern absl::Mutex early_const_init_mutex; 143 ABSL_CONST_INIT absl::Mutex early_const_init_mutex(absl::kConstInit); 150 extern absl::Mutex const_init_sanity_mutex; 154 ABSL_CONST_INIT absl::Mutex const_init_sanity_mutex(absl::kConstInit); [all …]
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex.h | 139 class ABSL_LOCKABLE Mutex { 147 Mutex(); 160 explicit constexpr Mutex(absl::ConstInitType); 162 ~Mutex(); 477 static inline void IncrementSynchSem(Mutex *mu, 480 Mutex *mu, base_internal::PerThreadSynch *w, 510 Mutex(const volatile Mutex * /*ignored*/) {} // NOLINT(runtime/explicit) in Mutex() function 512 Mutex(const Mutex&) = delete; 513 Mutex& operator=(const Mutex&) = delete; 540 explicit MutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(mu) { in MutexLock() [all …]
|
D | lifetime_test.cc | 41 void ThreadOne(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadOne() 59 void ThreadTwo(absl::Mutex* mutex, absl::CondVar* condvar, in ThreadTwo() 76 void RunTests(absl::Mutex* mutex, absl::CondVar* condvar) { in RunTests() 77 absl::Mutex default_mutex; in RunTests() 94 absl::Mutex mutex; in TestLocals() 100 ABSL_CONST_INIT absl::Mutex const_init_mutex(absl::kConstInit); 133 extern absl::Mutex early_const_init_mutex; 143 ABSL_CONST_INIT absl::Mutex early_const_init_mutex(absl::kConstInit); 150 extern absl::Mutex const_init_sanity_mutex; 154 ABSL_CONST_INIT absl::Mutex const_init_sanity_mutex(absl::kConstInit); [all …]
|
/third_party/grpc/include/grpcpp/impl/codegen/ |
D | sync.h | 47 class Mutex { 49 Mutex() { g_core_codegen_interface->gpr_mu_init(&mu_); } in Mutex() function 50 ~Mutex() { g_core_codegen_interface->gpr_mu_destroy(&mu_); } in ~Mutex() 52 Mutex(const Mutex&) = delete; 53 Mutex& operator=(const Mutex&) = delete; 71 explicit MutexLock(Mutex* mu) : mu_(mu->get()) { in MutexLock() 88 explicit ReleasableMutexLock(Mutex* mu) : mu_(mu->get()) { in ReleasableMutexLock() 129 int Wait(Mutex* mu) { in Wait() 133 int Wait(Mutex* mu, const gpr_timespec& deadline) { in Wait() 138 void WaitUntil(Mutex* mu, Predicate pred) { in WaitUntil()
|
/third_party/node/src/ |
D | histogram-inl.h | 13 Mutex::ScopedLock lock(mutex_); in Reset() 20 Mutex::ScopedLock lock(mutex_); in Min() 25 Mutex::ScopedLock lock(mutex_); in Max() 30 Mutex::ScopedLock lock(mutex_); in Mean() 35 Mutex::ScopedLock lock(mutex_); in Stddev() 40 Mutex::ScopedLock lock(mutex_); in Percentile() 49 Mutex::ScopedLock lock(mutex_); in Percentiles() 60 Mutex::ScopedLock lock(mutex_); in Record() 65 Mutex::ScopedLock lock(mutex_); in RecordDelta() 80 Mutex::ScopedLock lock(mutex_); in GetMemorySize()
|
/third_party/node/deps/icu-small/source/common/ |
D | mutex.h | 56 class U_COMMON_API Mutex : public UMemory { 58 Mutex(UMutex *mutex = nullptr) : fMutex(mutex) { in fMutex() 61 ~Mutex() { in ~Mutex() 65 Mutex(const Mutex &other) = delete; // forbid assigning of this class 66 Mutex &operator=(const Mutex &other) = delete; // forbid copying of this class
|
/third_party/icu/icu4c/source/common/ |
D | mutex.h | 56 class U_COMMON_API Mutex : public UMemory { 58 Mutex(UMutex *mutex = nullptr) : fMutex(mutex) { in fMutex() 61 ~Mutex() { in ~Mutex() 65 Mutex(const Mutex &other) = delete; // forbid assigning of this class 66 Mutex &operator=(const Mutex &other) = delete; // forbid copying of this class
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | mutex.h | 56 class U_COMMON_API Mutex : public UMemory { 58 Mutex(UMutex *mutex = nullptr) : fMutex(mutex) { in fMutex() 61 ~Mutex() { in ~Mutex() 65 Mutex(const Mutex &other) = delete; // forbid assigning of this class 66 Mutex &operator=(const Mutex &other) = delete; // forbid copying of this class
|