|
RADPx-OS Kernel (Radical Posix OS)
Crimson 0.1.4
POSIX-inspired kernel API with embedded and desktop VM targets
|
RAII wrapper for rad_event_t. More...
#include <rad_cpp.h>
Public Member Functions | |
| Event (bool signaled=false) | |
| Create a kernel event with an optional initial signal state. | |
| ~Event () | |
| Destroy the event when it was created successfully. | |
| Event (const Event &)=delete | |
| Event & | operator= (const Event &)=delete |
| rad_status_t | status () const |
| Return construction status. | |
| rad_status_t | wait (uint32_t timeout_ms) |
| Wait for the event or timeout. | |
| rad_status_t | signal () |
| Signal the event. | |
| rad_status_t | reset () |
| Reset the event to unsignaled. | |
RAII wrapper for rad_event_t.