pub fn ordered_write_lock<'a, R: RwLockLike>(
r1: &'a R,
r2: &'a R,
) -> (R::WriteGuard<'a>, R::WriteGuard<'a>)Expand description
Lock r1 and r2 in a consistent order (using the memory address of r1 and r2) for writing.
pub fn ordered_write_lock<'a, R: RwLockLike>(
r1: &'a R,
r2: &'a R,
) -> (R::WriteGuard<'a>, R::WriteGuard<'a>)Lock r1 and r2 in a consistent order (using the memory address of r1 and r2) for writing.