c/atomic/atomic flag

is an atomic boolean type. Unlike other atomic types, it is guaranteed to be lock-free. Unlike, does not provide load or store operations.