std1.0.0-beta-7 SafeC docs

std :: atomic

Struct std::AtomicLong

#include <std/atomic.h> source

struct AtomicLong { }

Methods

§static struct AtomicLong new(long long v)source · definition
§long long load() constsource · definition
§void store(long long v)source · definition
§long long fetch_add(long long d)source · definition
§long long fetch_sub(long long d)source · definition
§long long exchange(long long v)source · definition
§int compare_exchange(&long long expected, long long desired)source · definition