std :: atomic
#include <std/atomic.h> source ยท definition
#include <std/atomic.h>
int atomic_fetch_sub_int(&int addr, int delta)
Atomically subtract delta from *addr; return the old value.