Home
last modified time | relevance | path

Searched refs:try_lock_owned (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/tokio/tests/
Dsync_mutex_owned.rs105 fn try_lock_owned() { in try_lock_owned() function
108 let g1 = m.clone().try_lock_owned(); in try_lock_owned()
110 let g2 = m.clone().try_lock_owned(); in try_lock_owned()
113 let g3 = m.try_lock_owned(); in try_lock_owned()
/external/rust/crates/tokio/src/sync/
Dmutex.rs394 pub fn try_lock_owned(self: Arc<Self>) -> Result<OwnedMutexGuard<T>, TryLockError> { in try_lock_owned() method