amino
Lightweight Robot Utility Library
|
Locks mutex on construction, unlocks on destruction. More...
#include <amino.hpp>
Public Member Functions | |
ScopedMutex (pthread_mutex_t *m) | |
costruct this and lock m | |
ScopedMutex (pthread_mutex_t &m) | |
costruct this and lock m | |
~ScopedMutex () | |
destroy this and unlock m | |