new

Creates a new atomic integer.

Examples

use std::sync::atomic::AtomicU32;
let atomic_forty_two = AtomicU32::new(42);

Arguments

  • v : u32 - No Documentation 🚧

Returns

  • arg0 : AtomicU32 - No Documentation 🚧