EE445M RTOS
Taken at the University of Texas Spring 2015
semaphore Class Reference

#include <semaphorepp.hpp>

Inheritance diagram for semaphore:
Inheritance graph
Collaboration diagram for semaphore:
Collaboration graph

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)
 

Detailed Description

Definition at line 17 of file semaphorepp.hpp.


The documentation for this class was generated from the following files: