Searched defs:LockState (Results 1 – 1 of 1) sorted by relevance
33 struct LockState { struct34 enum Kind {40 } K;43 LockState(Kind K) : K(K) {} in LockState() argument46 static LockState getLocked() { return LockState(Locked); } in getLocked()47 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked()48 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed()49 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed()52 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed()56 bool operator==(const LockState &X) const { return K == X.K; } in operator ==()[all …]