new

Creates a new atomic integer.

Examples

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

Arguments

  • v : i16 - No Documentation 🚧

Returns

  • arg0 : AtomicI16 - No Documentation 🚧