Searched refs:LockState (Results 1 – 1 of 1) sorted by relevance
32 struct LockState { struct42 LockState(Kind K) : K(K) {} in LockState() argument45 static LockState getLocked() { return LockState(Locked); } in getLocked() argument46 static LockState getUnlocked() { return LockState(Unlocked); } in getUnlocked() argument47 static LockState getDestroyed() { return LockState(Destroyed); } in getDestroyed() argument48 static LockState getUntouchedAndPossiblyDestroyed() { in getUntouchedAndPossiblyDestroyed() argument49 return LockState(UntouchedAndPossiblyDestroyed); in getUntouchedAndPossiblyDestroyed()51 static LockState getUnlockedAndPossiblyDestroyed() { in getUnlockedAndPossiblyDestroyed() argument52 return LockState(UnlockedAndPossiblyDestroyed); in getUnlockedAndPossiblyDestroyed()55 bool operator==(const LockState &X) const { return K == X.K; } in operator ==() argument[all …]