Function UnfairSharedLock.state

Return the current state of the lock.

SharedLock.LockState state () pure nothrow @property @nogc @safe const;

This function will never return the SharedWithExclusivePending state.

Returns

see LockState