Template:cpp/thread/counting semaphore/dsc acquire