new

Creates a new atomic integer.

Examples

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

Arguments

  • v : u64 - No Documentation 🚧

Returns

  • arg0 : AtomicU64 - No Documentation 🚧