FreeRTOS C++ Wrappers
Public Member Functions | List of all members
Mutex Class Reference

Mutex Wrapper. More...

#include <MutexCPP.h>

Collaboration diagram for Mutex:
Collaboration graph

Public Member Functions

 Mutex (char const *name)
 Constructor. More...
 
 ~Mutex ()
 Destructor. More...
 
bool take (TickType_t wait=portMAX_DELAY)
 
bool give ()
 

Detailed Description

Mutex Wrapper.

Constructor & Destructor Documentation

Mutex::Mutex ( char const *  name)
inline

Constructor.

Parameters
nameName to give mutex, used for Debug Registry if setup
Mutex::~Mutex ( )
inline

Destructor.

Deletes the semaphore.

Member Function Documentation

bool Mutex::give ( )
inline
bool Mutex::take ( TickType_t  wait = portMAX_DELAY)
inline

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