new

Creates a new atomic integer.

Examples

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

Arguments

  • v : i8 - No Documentation 🚧

Returns

  • arg0 : AtomicI8 - No Documentation 🚧