Searched refs:try_lock (Results 1 – 5 of 5) sorted by relevance
76 while !self.try_lock() {} in lock()88 pub fn try_lock(&self) -> bool { in try_lock() method154 if self.try_lock() { in try_lock_irqsave()230 pub fn try_lock(&self) -> Result<SpinLockGuard<T>, SystemError> { in try_lock() method231 if self.lock.try_lock() { in try_lock()
92 pub fn try_lock(&self) -> Result<MutexGuard<T>, SystemError> { in try_lock() method
115 ### 4.3. try_lock - 尝试加锁120 pub fn try_lock(&self) -> Result<MutexGuard<T>, i32>
173 let timer_list = TIMER_LIST.try_lock(); in run()187 let x = timer_list_front.0.try_lock(); in run()271 match TIMER_LIST.try_lock() { in timer_get_first_expire()
146 let sockets = SOCKET_SET.try_lock(); in poll_ifaces_try_lock()