Searched refs:LockState (Results 1 – 1 of 1) sorted by relevance
33 struct LockState { struct43 LockState(Kind K) : K(K) {} in LockState() function46 static LockState getLocked() { return LockState(Locked); } in getLocked() argument47 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument48 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument49 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument50 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()52 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument53 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()56 bool operator==(const LockState &X) const { return K == X.K; } in operator ==() argument[all …]