1
0
forked from fsfw/fsfw

sempahore wrapper extended

This commit is contained in:
2020-02-25 17:04:21 +01:00
parent 685c18dc4e
commit 083cc7c50a
9 changed files with 204 additions and 25 deletions

View File

@ -1,5 +1,5 @@
#ifndef OS_RTEMS_MUTEX_H_
#define OS_RTEMS_MUTEX_H_
#ifndef FRAMEWORK_FREERTOS_MUTEX_H_
#define FRAMEWORK_FREERTOS_MUTEX_H_
#include <framework/ipc/MutexIF.h>
@ -8,7 +8,11 @@
#include "semphr.h"
/**
* @brief OS component to implement MUTual EXclusion
*
* @details
* Mutexes are binary semaphores which include a priority inheritance mechanism.
* Documentation: https://www.freertos.org/Real-time-embedded-RTOS-mutexes.html
* @ingroup osal
*/
class Mutex : public MutexIF {
@ -21,4 +25,4 @@ private:
SemaphoreHandle_t handle;
};
#endif /* OS_RTEMS_MUTEX_H_ */
#endif /* FRAMEWORK_FREERTOS_MUTEX_H_ */