_atomic_lock
int _atomic_lock(volatile _atomic_lock_t *);
while (_atomic_lock(lock))
if (_atomic_lock(lock) == 0) {