Add trivial atomic_flag example