22#ifndef LELY_COAPP_DETAIL_MUTEX_H_
23#define LELY_COAPP_DETAIL_MUTEX_H_
A mutex wrapper that provides a convenient RAII-style mechanism for releasing a mutex for the duratio...
~UnlockGuard()
Acquires ownership of m and calls m.lock(), where m is the mutex passed to the constructor.
UnlockGuard(MutexType &m, ::std::adopt_lock_t)
Releases ownership of m without attempting to unlock it.
UnlockGuard(MutexType &m)
Releases ownership of m and calls m.unlock().
Mutex MutexType
The type of the mutex to unlock.
This is the public header file of the C++ CANopen application library.
Global namespace for the Lely Industries N.V. libraries.