Skip to main content

rcu_ptr_to_arc

Function rcu_ptr_to_arc 

Source
pub unsafe fn rcu_ptr_to_arc<'a, T>(ptr: RcuPtrRef<'a, T>) -> Arc<T>
Expand description

Reconstruct an Arc from an RcuPtrRef by incrementing its strong count.

ยงSafety

The caller must guarantee that the pointer was obtained from Arc::into_raw().