Condition variable attributes. More...
#include <cmsis-plus/rtos/os.h>
Inheritance diagram for os::rtos::condition_variable::attributes:Public Member Functions | |
Constructors & Destructor | |
| constexpr | attributes () |
| Construct a condition variable attributes object instance. | |
| attributes (const attributes &)=default | |
| attributes (attributes &&)=default | |
| attributes & | operator= (const attributes &)=default |
| attributes & | operator= (attributes &&)=default |
| ~attributes ()=default | |
| Destruct the condition variable attributes object instance. | |
Public Attributes | |
Public Member Variables | |
| rtos::clock * | clock = nullptr |
| Attribute with the address of the clock to be used for timeouts. | |
Allow to assign a name to the condition variable.
If the attributes are modified after the condition_variable creation, the condition_variable attributes shall not be affected.
pthread_condattr_t from <pthread.h> (IEEE Std 1003.1, 2013 Edition). Definition at line 54 of file os-condvar.h.
|
constexpr |
|
default |
|
default |
|
default |
|
default |
|
default |
|
inherited |
It may be one of os::rtos::sysclock, os::rtos::rtclock, or any other user object derived from class os::rtos::clock.
If nullptr, the default clock is os::rtos::sysclock.
Definition at line 612 of file os-decls.h.
Referenced by os::rtos::event_flags::event_flags(), os::rtos::mutex::mutex(), and os::rtos::timer::timer().