try_borrow

Function try_borrow 

pub fn try_borrow(lock: &AtomicIsize) -> bool
Expand description

Attempts to borrow specified lock immutably.