Searched refs:LockState (Results 1 – 1 of 1) sorted by relevance
27 struct LockState { struct37 LockState(Kind K) : K(K) {} in LockState() function40 static LockState getLocked() { return LockState(Locked); } in getLocked() argument41 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument42 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument43 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument44 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()46 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument47 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()50 bool operator==(const LockState &X) const { in operator ==() argument[all …]