Searched defs:LockState (Results 1 – 1 of 1) sorted by relevance
32 struct LockState { struct33 enum Kind {39 } K;42 LockState(Kind K) : K(K) {} in LockState() function45 static LockState getLocked() { return LockState(Locked); } in getLocked()46 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked()47 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed()48 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed()51 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed()55 bool operator==(const LockState &X) const { return K == X.K; } in operator ==()[all …]