µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
µOS++ ISO Standard C++ Threads

µ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)
 

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 class 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 71 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 81 of file condition-variable.cpp.