Template:cpp/thread/latch/dsc try wait