Template:cpp/thread/counting semaphore/dsc try acquire until