1
0
forked from fsfw/fsfw

some safety updates and fixes

This commit is contained in:
2020-05-27 23:29:06 +02:00
parent 63dbf99592
commit 7ce505fdf9
4 changed files with 52 additions and 13 deletions

View File

@ -10,7 +10,9 @@ extern "C" {
}
/**
* @brief Binary Semaphore implementation using Task Notifications
* @brief Binary Semaphore implementation using the task notification value.
* The notification value should therefore not be used
* for other purposes.
* @details
* Additional information: https://www.freertos.org/RTOS-task-notifications.html
* and general semaphore documentation.
@ -22,6 +24,8 @@ public:
//! @brief Default ctor
BinarySemaphoreUsingTask();
//! @brief Default dtor
virtual~ BinarySemaphoreUsingTask();
ReturnValue_t acquire(uint32_t timeoutMs =
SemaphoreIF::NO_TIMEOUT) override;