#include __BASE atomic_exchange(volatile __TYPE *object, __BASE desired) { return *object = desired; }