Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/src/
H A Dcondition_variable_destructor.cpp25 class _LIBCPP_EXPORTED_FROM_ABI condition_variable { class
29 _LIBCPP_HIDE_FROM_ABI constexpr condition_variable() noexcept = default;
31 ~condition_variable();
33 condition_variable(const condition_variable&) = delete;
34 condition_variable& operator=(const condition_variable&) = delete;
37 condition_variable::~condition_variable() { __libcpp_condvar_destroy(&__cv_); } in ~condition_variable()
H A Dcondition_variable.cpp9 #include <condition_variable>
21 // ~condition_variable is defined elsewhere.
23 void condition_variable::notify_one() noexcept { __libcpp_condvar_signal(&__cv_); }
25 void condition_variable::notify_all() noexcept { __libcpp_condvar_broadcast(&__cv_); }
27 void condition_variable::wait(unique_lock<mutex>& lk) noexcept {
29 __throw_system_error(EPERM, "condition_variable::wait: mutex not locked"); in notify_one()
32 __throw_system_error(ec, "condition_variable wait failed");
35 void condition_variable::__do_timed_wait(unique_lock<mutex>& lk, in notify_all()
39 __throw_system_error(EPERM, "condition_variable::timed wait: mutex not locked");
56 __throw_system_error(ec, "condition_variable timed_wai in __do_timed_wait()
[all...]
H A Dthread.cpp125 typedef vector<pair<condition_variable*, mutex*>, __hidden_allocator<pair<condition_variable*, mutex*> > > _Notify; in __thread_local_data()
137 void notify_all_at_thread_exit(condition_variable* cv, mutex* m); in allocate()
152 void __thread_struct_imp::notify_all_at_thread_exit(condition_variable* cv, mutex* m) {
153 notify_.push_back(pair<condition_variable*, mutex*>(cv, m));
167 void __thread_struct::notify_all_at_thread_exit(condition_variable* cv, mutex* m) { in ~__thread_struct_imp()
/freebsd/contrib/llvm-project/libcxx/include/__condition_variable/
H A Dcondition_variable.h42 class _LIBCPP_EXPORTED_FROM_ABI condition_variable { in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
46 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR condition_variable() _NOEXCEPT = default; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
49 ~condition_variable() = default; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
51 ~condition_variable(); in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
54 condition_variable(const condition_variable&) = delete; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
55 condition_variable& operator=(const condition_variable&) = delete; in _LIBCPP_DECLARE_STRONG_ENUM_EPILOG()
145 void condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred) { in wait()
151 cv_status condition_variable::wait_until(unique_lock<mutex>& __lk, const chrono::time_point<_Clock,… in wait_until()
166 bool condition_variable::wait_until( in wait_until()
176 cv_status condition_variable::wait_for(unique_lock<mutex>& __lk, const chrono::duration<_Rep, _Peri… in wait_for()
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcondition_variable.cppm
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcondition_variable14 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);
124 #include <__condition_variable/condition_variable.h>
148 condition_variable __cv_;
346 _LIBCPP_EXPORTED_FROM_ABI void notify_all_at_thread_exit(condition_variable&, unique_lock<mutex>);
H A Dmutex191 #include <__condition_variable/condition_variable.h>
241 condition_variable __cv_;
280 condition_variable __cv_;
H A Dshared_mutex132 # include <__condition_variable/condition_variable.h>
155 condition_variable __gate1_;
156 condition_variable __gate2_;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h197 std::condition_variable QueueCondition;
200 std::condition_variable CompletionCondition;
H A DBalancedPartitioning.h120 std::condition_variable cv;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h58 std::condition_variable OutstandingCV;
180 std::condition_variable ShutdownCV;
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DAlarm.h100 std::condition_variable m_alarm_cv;
/freebsd/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp95 std::condition_variable cv; in unlinkAsync()
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h55 condition_variable __cv; in sleep_until()
H A Dthread.h58 void notify_all_at_thread_exit(condition_variable*, mutex*);
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/windows/
H A DDirectoryWatcher-windows.cpp43 std::condition_variable Ready;
48 std::condition_variable CV;
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h195 std::condition_variable m_condition; ///< The pthread condition variable to
H A DListener.h131 std::condition_variable m_events_condition;
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteClientBase.h127 std::condition_variable m_cv;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DTaskDispatch.h127 std::condition_variable OutstandingCV;
H A DSimpleRemoteEPC.h126 std::condition_variable DisconnectCV;
/freebsd/contrib/llvm-project/llvm/include/llvm/Debuginfod/
H A DDebuginfod.h110 std::condition_variable QueueCondition;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp129 std::condition_variable Cond;
/freebsd/contrib/llvm-project/libcxx/modules/
H A Dstd.cppm
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp87 std::condition_variable NonEmpty;

12