Function bones_ecs::atomic::borrow::clone_borrow

pub fn clone_borrow(lock: &AtomicIsize)
Expand description

Clones immutable borrow of specified lock. This function MUST be called only when lock is already borrowed immutably.

ยงSafety

This function is safe but must be used with care to ensure locking correctness.