StdMutex::operator!

Expose the mutex as a negative capability for Clang Thread Safety Analysis.

Synopsis

Declared in <util/stdmutex.h>

StdMutex const&
operator!() const;

Description

A negative requirement uses the EXCLUSIVE_LOCKS_REQUIRED attribute together with the ! operator to indicate that a mutex should not be held.

Return Value

A const reference to this mutex.