Home
last modified time | relevance | path

Searched refs:condition_variable (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/external/llvm-project/libcxx/src/
Dcondition_variable_destructor.cpp27 class _LIBCPP_TYPE_VIS condition_variable class
32 constexpr condition_variable() noexcept = default;
34 ~condition_variable();
36 condition_variable(const condition_variable&) = delete;
37 condition_variable& operator=(const condition_variable&) = delete;
40 condition_variable::~condition_variable() in ~condition_variable()
Dcondition_variable.cpp27 condition_variable::notify_one() _NOEXCEPT in notify_one()
33 condition_variable::notify_all() _NOEXCEPT in notify_all()
39 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait()
50 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait()
80 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
Dthread.cpp140 typedef vector<pair<condition_variable*, mutex*>,
141 __hidden_allocator<pair<condition_variable*, mutex*> > > _Notify;
152 void notify_all_at_thread_exit(condition_variable* cv, mutex* m);
173 __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit()
175 notify_.push_back(pair<condition_variable*, mutex*>(cv, m)); in notify_all_at_thread_exit()
198 __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit()
/external/libcxx/src/
Dcondition_variable.cpp21 condition_variable::~condition_variable() in ~condition_variable()
27 condition_variable::notify_one() _NOEXCEPT in notify_one()
33 condition_variable::notify_all() _NOEXCEPT in notify_all()
39 condition_variable::wait(unique_lock<mutex>& lk) _NOEXCEPT in wait()
50 condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in __do_timed_wait()
80 notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk) in notify_all_at_thread_exit()
Dthread.cpp151 typedef vector<pair<condition_variable*, mutex*>,
152 __hidden_allocator<pair<condition_variable*, mutex*> > > _Notify;
163 void notify_all_at_thread_exit(condition_variable* cv, mutex* m);
184 __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit()
186 notify_.push_back(pair<condition_variable*, mutex*>(cv, m)); in notify_all_at_thread_exit()
209 __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) in notify_all_at_thread_exit()
/external/libcxx/include/
Dcondition_variable2 //===---------------------- condition_variable ----------------------------===//
15 condition_variable synopsis
22 class condition_variable
25 condition_variable();
26 ~condition_variable();
28 condition_variable(const condition_variable&) = delete;
29 condition_variable& operator=(const condition_variable&) = delete;
64 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
124 condition_variable __cv_;
263 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
D__mutex_base288 class _LIBCPP_TYPE_VIS condition_variable
299 constexpr condition_variable() _NOEXCEPT = default;
301 condition_variable() _NOEXCEPT {__cv_ = (__libcpp_condvar_t)_LIBCPP_CONDVAR_INITIALIZER;}
303 ~condition_variable();
306 condition_variable(const condition_variable&); // = delete;
307 condition_variable& operator=(const condition_variable&); // = delete;
372 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
380 condition_variable::wait_until(unique_lock<mutex>& __lk,
390 condition_variable::wait_until(unique_lock<mutex>& __lk,
404 condition_variable::wait_for(unique_lock<mutex>& __lk,
[all …]
/external/llvm-project/libcxx/include/
Dcondition_variable2 //===---------------------- condition_variable ----------------------------===//
14 condition_variable synopsis
21 class condition_variable
24 condition_variable();
25 ~condition_variable();
27 condition_variable(const condition_variable&) = delete;
28 condition_variable& operator=(const condition_variable&) = delete;
63 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
123 condition_variable __cv_;
262 void notify_all_at_thread_exit(condition_variable& cond, unique_lock<mutex> lk);
D__mutex_base273 class _LIBCPP_TYPE_VIS condition_variable
278 _LIBCPP_CONSTEXPR condition_variable() _NOEXCEPT = default;
281 ~condition_variable() = default;
283 ~condition_variable();
286 condition_variable(const condition_variable&) = delete;
287 condition_variable& operator=(const condition_variable&) = delete;
403 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
411 condition_variable::wait_until(unique_lock<mutex>& __lk,
429 condition_variable::wait_until(unique_lock<mutex>& __lk,
443 condition_variable::wait_for(unique_lock<mutex>& __lk,
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-spuriously-wake-up-functions.cpp82 class condition_variable { class
84 condition_variable();
85 ~condition_variable();
86 condition_variable(const condition_variable &) = delete;
116 static std::condition_variable condition;
118 void consume_list_element(std::condition_variable &condition) { in consume_list_element()
/external/tensorflow/tensorflow/core/platform/default/
Dmutex.cc88 condition_variable::condition_variable() { in condition_variable() function in tensorflow::condition_variable
92 void condition_variable::wait(mutex_lock &lock) { in wait()
96 void condition_variable::notify_one() { nsync::nsync_cv_signal(cv_cast(&cv_)); } in notify_one()
98 void condition_variable::notify_all() { in notify_all()
/external/llvm-project/libcxx/test/libcxx/thread/thread.condition/thread.condition.condvar/
Dnative_handle.pass.cpp27 static_assert((std::is_same<std::condition_variable::native_handle_type, in main()
29 std::condition_variable cv; in main()
30 std::condition_variable::native_handle_type h = cv.native_handle(); in main()
/external/libcxx/test/libcxx/thread/thread.condition/thread.condition.condvar/
Dnative_handle.pass.cpp26 static_assert((std::is_same<std::condition_variable::native_handle_type, in main()
28 std::condition_variable cv; in main()
29 std::condition_variable::native_handle_type h = cv.native_handle(); in main()
/external/swiftshader/third_party/marl/include/marl/
Dmutex.h46 MARL_NO_EXPORT inline void wait_locked(std::condition_variable& cv, in wait_locked()
55 MARL_NO_EXPORT inline bool wait_until_locked(std::condition_variable& cv, in wait_until_locked()
80 inline void wait(std::condition_variable& cv, Predicate&& p) { in wait()
86 inline bool wait_until(std::condition_variable& cv, in wait_until()
/external/llvm-project/clang-tools-extra/clangd/support/
DThreading.h36 mutable std::condition_variable CV;
51 std::condition_variable SlotsChanged;
88 void wait(std::unique_lock<std::mutex> &Lock, std::condition_variable &CV,
93 std::condition_variable &CV, Deadline D, Func F) { in wait()
117 mutable std::condition_variable TasksReachedZero;
/external/tensorflow/tensorflow/core/platform/
Dmutex.h44 class condition_variable; variable
104 friend class condition_variable;
225 class condition_variable {
227 condition_variable();
238 condition_variable* cv, int64 ms);
248 condition_variable* cv, int64 ms) { in WaitForMilliseconds()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dcopy.fail.cpp21 std::condition_variable cv0; in main()
22 std::condition_variable cv1(cv0); in main()
Dassign.fail.cpp21 std::condition_variable cv0; in main()
22 std::condition_variable cv1; in main()
Ddestructor.pass.cpp23 std::condition_variable* cv;
49 cv = new std::condition_variable; in main()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dcopy.compile.fail.cpp20 std::condition_variable cv0; in main()
21 std::condition_variable cv1(cv0); in main()
Dassign.compile.fail.cpp20 std::condition_variable cv0; in main()
21 std::condition_variable cv1; in main()
/external/tensorflow/tensorflow/core/kernels/
Drecord_yielder.h131 condition_variable buf_empty_;
136 condition_variable buf_not_full_;
141 condition_variable buf_enough_;
/external/ruy/ruy/
Dwait_test.cc37 std::condition_variable* condvar, std::mutex* mutex) in ThreadCountingUpToValue()
62 std::condition_variable* condvar_;
71 std::condition_variable condvar; in WaitTest()
/external/zstd/contrib/pzstd/utils/
DWorkQueue.h29 std::condition_variable readerCv_;
30 std::condition_variable writerCv_;
31 std::condition_variable finishCv_;
/external/grpc-grpc/src/cpp/server/
Ddynamic_thread_pool.h54 std::condition_variable cv_;
55 std::condition_variable shutdown_cv_;

12345678910>>...12