cpp/thread/condition variable any/wait