MaybeCheckNotHeld

Check a GlobalMutex or RecursiveMutex is not held in scope and pass it through.

Synopsis

Declared in <sync.h>

template<typename MutexType>
MutexType&
MaybeCheckNotHeld(MutexType& m);

Return Value

The same mutex reference.

Parameters

NameDescription
mMutex about to be locked.