Check a GlobalMutex or RecursiveMutex is not held in scope and pass it through.
Declared in <sync.h>
<sync.h>
template<typename MutexType> MutexType* MaybeCheckNotHeld(MutexType* m);
The same mutex pointer.