µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
µOS++ ISO Standard C++ Threads

µOS++ ISO Threads summary page. More...

Namespaces

 os::estd
 Embedded std namespace.
 
 os::estd::this_thread
 A namespace for functions applying to the current thread.
 
 std
 Standard std namespace.
 
 this_thread
 A namespace for functions applying to the current thread.
 

Classes

class  os::estd::mutex
 
class  os::estd::chrono::systick_clock
 
class  os::estd::thread
 Standard thread. More...
 
enum  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)
 

Detailed Description

µOS++ ISO Threads summary page.

This page groups the main µOS++ ISO Threads classes and namespaces.

Standards
These definitions provide implementations for the classes defined in the C++ Standard ISO/IEC 14882:2011(E) Third edition (2011-09-01).

Enumeration Type Documentation

◆ cv_status

enum os::estd::cv_status
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 79 of file condition_variable.

Function Documentation

◆ notify_all_at_thread_exit()

void os::estd::notify_all_at_thread_exit ( condition_variable cond,
std::unique_lock< mutex lk 
)

Definition at line 85 of file condition-variable.cpp.