cpp/atomic/atomic ref/wait