Template:cpp/thread/counting semaphore/dsc max