Searched refs:is_locked (Results 1 – 5 of 5) sorted by relevance
22 is_locked: bool, field52 is_locked: false, in new()66 if inner.is_locked { in lock()77 inner.is_locked = true; in lock()96 if inner.is_locked { in try_lock()100 inner.is_locked = true; in try_lock()119 assert!(inner.is_locked); in unlock()121 inner.is_locked = false; in unlock()
171 pub fn is_locked(&self) -> bool { in is_locked() method
38 is_locked: bool,
256 * Rust的RawSpinlock新增is_locked()和set_value()方法。
363 if self.lock.is_locked() in self_lock()