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

C++ API condition variables definitions. More...

Classes

class  os::rtos::condition_variable::attributes
 Condition variable attributes. More...
 
class  os::rtos::condition_variable
 POSIX compliant condition variable. More...
 

Variables

static const attributes os::rtos::condition_variable::initializer
 Default condition variable initialiser.
 

Detailed Description

C++ API condition variables definitions.

Examples
int
os_main (int argc, char* argv[])
{
{
condition_variable cv1;
cv1.signal ();
condition_variable cv2
{ "cv2" };
cv2.signal ();
}
}
int os_main(int argc, char *argv[])
Application entry point, running on the main thread context.

Variable Documentation

◆ initializer

const condition_variable::attributes os::rtos::condition_variable::initializer
static

Default condition variable initialiser.

This variable is used by the default constructor.

Definition at line 110 of file os-condvar.h.