cpp/thread/condition variable/wait for