Searched refs:try_lock (Results 1 – 4 of 4) sorted by relevance
73 let res = self.try_lock(); in lock()101 pub fn try_lock(&self) -> Result<SpinLockGuard<T>, SystemError> { in try_lock() method
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>
733 let mut epoll_guard = epoll.try_lock()?; in wakeup_epoll()