new

Creates a new atomic integer.

Examples

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

Arguments

  • v : i32 - No Documentation 🚧

Returns

  • arg0 : AtomicI32 - No Documentation 🚧