|
Void Sentry
An AI-driven, real-time Sentry Turret platform leveraging asynchronous I/O and computer vision to deliver high-precision autonomous motion tracking on resource-constrained embedded hardware.
|
Scoped lock on a FreeRTOS mutex; takes it forever on construction and gives it back on destruction. More...
#include <sync.h>
Public Member Functions | |
| MutexLock (SemaphoreHandle_t mutex) | |
| MutexLock (const MutexLock &)=delete | |
| MutexLock & | operator= (const MutexLock &)=delete |
Scoped lock on a FreeRTOS mutex; takes it forever on construction and gives it back on destruction.
A null handle is tolerated and makes the lock a no-op, so a manager whose mutex creation failed (and which already reports that) does not crash on every call afterwards.