Home
last modified time | relevance | path

Searched refs:mutex_type (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/platform/default/
Dmutex.h65 typedef ::tensorflow::mutex mutex_type; typedef
67 explicit mutex_lock(mutex_type& mu) EXCLUSIVE_LOCK_FUNCTION(mu) : mu_(&mu) { in mutex_lock()
71 mutex_lock(mutex_type& mu, std::try_to_lock_t) EXCLUSIVE_LOCK_FUNCTION(mu) in mutex_lock()
89 mutex_type* mutex() { return mu_; } in mutex()
94 mutex_type* mu_;
104 typedef ::tensorflow::mutex mutex_type; typedef
106 explicit tf_shared_lock(mutex_type& mu) SHARED_LOCK_FUNCTION(mu) : mu_(&mu) { in tf_shared_lock()
110 tf_shared_lock(mutex_type& mu, std::try_to_lock_t) SHARED_LOCK_FUNCTION(mu) in tf_shared_lock()
128 mutex_type* mutex() { return mu_; } in mutex()
133 mutex_type* mu_;
/external/libcxx/include/
Dshared_mutex79 typedef Mutex mutex_type;
83 explicit shared_lock(mutex_type& m); // blocking
84 shared_lock(mutex_type& m, defer_lock_t) noexcept;
85 shared_lock(mutex_type& m, try_to_lock_t);
86 shared_lock(mutex_type& m, adopt_lock_t);
88 shared_lock(mutex_type& m,
91 shared_lock(mutex_type& m,
111 mutex_type* release() noexcept;
116 mutex_type* mutex() const noexcept;
313 typedef _Mutex mutex_type;
[all …]
D__mutex_base96 typedef _Mutex mutex_type;
99 mutex_type& __m_;
103 explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
106 …lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m…
120 typedef _Mutex mutex_type;
123 mutex_type* __m_;
130 explicit unique_lock(mutex_type& __m)
133 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT
136 unique_lock(mutex_type& __m, try_to_lock_t)
139 unique_lock(mutex_type& __m, adopt_lock_t)
[all …]
Dmutex102 typedef Mutex mutex_type;
104 explicit lock_guard(mutex_type& m);
105 lock_guard(mutex_type& m, adopt_lock_t);
116 using mutex_type = Mutex; // If MutexTypes... consists of the single type Mutex
131 typedef Mutex mutex_type;
133 explicit unique_lock(mutex_type& m);
134 unique_lock(mutex_type& m, defer_lock_t) noexcept;
135 unique_lock(mutex_type& m, try_to_lock_t);
136 unique_lock(mutex_type& m, adopt_lock_t);
138 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
[all …]
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
Dtypes.pass.cpp30 auto test_typedef(int) -> typename LG::mutex_type;
49 static_assert(std::is_same<T::mutex_type, M1>::value, ""); in main()
54 static_assert(std::is_same<T::mutex_type, M1>::value, ""); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DValueMap.h59 using mutex_type = MutexT; member
81 static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; } in getMutex()
269 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
270 unique_lock<typename Config::mutex_type> Guard;
272 Guard = unique_lock<typename Config::mutex_type>(*M);
282 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
283 unique_lock<typename Config::mutex_type> Guard;
285 Guard = unique_lock<typename Config::mutex_type>(*M);
/external/llvm/include/llvm/IR/
DValueMap.h54 typedef MutexT mutex_type; typedef
76 static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; } in getMutex()
258 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
259 unique_lock<typename Config::mutex_type> Guard;
261 Guard = unique_lock<typename Config::mutex_type>(*M);
270 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data);
271 unique_lock<typename Config::mutex_type> Guard;
273 Guard = unique_lock<typename Config::mutex_type>(*M);
/external/libcxx/src/
Ddebug.cpp102 typedef mutex mutex_type; typedef
103 typedef lock_guard<mutex_type> WLock;
104 typedef lock_guard<mutex_type> RLock;
106 mutex_type&
109 static mutex_type m; in mut()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/
Dtypes.pass.cpp27 static_assert((std::is_same<std::unique_lock<std::mutex>::mutex_type, in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/
Dtypes.pass.cpp27 static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type, in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/
Dtypes.pass.cpp29 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type, in main()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
Ds-c.c108 int mutex_type; member
340 ret = pthread_mutexattr_settype(&ma, test_scenar[s].mutex_type); in do_threads_test()