µOS++ ISO Threads summary page. More...
Namespaces | |
namespace | os::estd |
Embedded std namespace. | |
namespace | std |
Standard std namespace. | |
namespace | this_thread |
A namespace for functions applying to the current thread. | |
Classes | |
class | os::estd::mutex |
class | os::estd::chrono::systick_clock |
enum class | os::estd::cv_status { os::estd::cv_status::no_timeout , os::estd::cv_status::timeout } |
void | os::estd::notify_all_at_thread_exit (condition_variable &cond, std::unique_lock< mutex > lk) |
µOS++ ISO Threads summary page.
This page groups the main µOS++ ISO Threads classes and namespaces.
|
strong |
Condition variables provide synchronization primitives used to block a thread until notified by some other thread that some condition is met or until a system time is reached. Class condition_variable
provides a condition variable that can only wait on an object of type unique_lock<mutex>
, allowing maximum efficiency on some platforms. Class condition_variable_any
provides a general condition variable that can wait on objects of user-supplied lock types.
Condition variables permit concurrent invocation of the wait
, wait_for
, wait_until
, notify_one
and notify_all
member functions.
Enumerator | |
---|---|
no_timeout | |
timeout |
Definition at line 87 of file condition_variable.
void os::estd::notify_all_at_thread_exit | ( | condition_variable & | cond, |
std::unique_lock< mutex > | lk | ||
) |
Definition at line 91 of file condition-variable.cpp.