new
Creates a new
AtomicBool
.Examples
use std::sync::atomic::AtomicBool; let atomic_true = AtomicBool::new(true); let atomic_false = AtomicBool::new(false);
Arguments
- v :
bool
- No Documentation 🚧
Returns
- arg0 :
AtomicBool
- No Documentation 🚧