[go: up one dir, main page]

arc_pool

Macro arc_pool 

Source
macro_rules! arc_pool {
    ($name:ident: $data_type:ty) => { ... };
}
Available on (crate feature portable-atomic or target_has_atomic="ptr") and (arm_llsc, or 32-bit and (target_has_atomic="64" or crate feature portable-atomic), or 64-bit and (target_has_atomic="128" and crate feature nightly, or crate feature portable-atomic)) only.
Expand description

Creates a new ArcPool singleton with the given $name that manages the specified $data_type

For more extensive documentation see the module level documentation