1 #ifndef CARMA_UTIL_SCOPED_EXCLUSIVE_LOCK_H
2 #define CARMA_UTIL_SCOPED_EXCLUSIVE_LOCK_H
44 template<
typename L >
77 template<
typename L >
85 template<
typename L >
89 exclusiveUnlock( l_ );
ScopedExclusiveLock(L &l)
Obtains an exclusive lock on the given lock for the caller's thread (possibly waiting an indeterminat...
A templated scope class (i.e.
~ScopedExclusiveLock()
Releases the exclusive lock on the lock (that was given to the constructor) held by the caller's thre...