#include <string>
#include <sys/sem.h>
#include <pthread.h>
#include <mutex>
#include <rad/logger.hpp>
#include <ifw/core/utils/base/base.hpp>
Go to the source code of this file.
|
class | ifw::core::utils::system::Mutex |
| The Mutex class: Scope based mutex semaphore. The ifw::core::utils::system::Mutex semaphore is used to implement a safe mutex semaphore, at scope level. When entering the scope the semaphore is automatically created, based on a ID, if not existing, and locked. The semaphore created is recursive. When leaving the scope, the destructor will automatically unlock the semaphore. More...
|
|
|
#define | BEGIN_CRIT_SEC(id) |
| Macro to initiate critical section.
|
|
#define | END_CRIT_SEC(id) } |
| Dummy macro to mark end of critical section.
|
|
◆ BEGIN_CRIT_SEC
#define BEGIN_CRIT_SEC |
( |
| id | ) |
|
Value: { \
The Mutex class: Scope based mutex semaphore. The ifw::core::utils::system::Mutex semaphore is used t...
Definition system.hpp:69
Macro to initiate critical section.
◆ END_CRIT_SEC
#define END_CRIT_SEC |
( |
| id | ) |
} |
Dummy macro to mark end of critical section.