|
EE445M RTOS
Taken at the University of Texas Spring 2015
|
#include <semaphorepp.hpp>


Public Member Functions | |
| semaphore () | |
| semaphore (int16_t initial_value) | |
| void | init (void) |
| void | post (void) |
| void | wait (void) |
| void | take (void) |
| bool | guard (void) |
| bool | blocked (void) |
| void | reset (void) |
Public Member Functions inherited from critical | |
| uint32_t | StartCritical (void) |
| void | EndCritical (uint32_t primask) |
Private Attributes | |
| int16_t | value |
| uint32_t | total_posts |
Additional Inherited Members | |
Static Public Member Functions inherited from critical | |
| static uint32_t | static_StartCritical (void) |
| static void | static_EndCritical (uint32_t primask) |
Definition at line 17 of file semaphorepp.hpp.