new

Creates a new atomic integer.

Examples

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

Arguments

  • v : u16 - No Documentation 🚧

Returns

  • arg0 : AtomicU16 - No Documentation 🚧