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