RAII-style mutex

This commit is contained in:
dario
2024-05-24 16:27:53 +02:00
parent e186eb757c
commit e5c4b9a6cc
2 changed files with 27 additions and 0 deletions

View File

@@ -3,6 +3,16 @@
namespace sta
{
void Mutex::lock()
{
acquire();
}
void Mutex::unlock()
{
release();
}
/**
* @brief Dummy mutex implementation with no access control.
*/