[semaphore.syn] # 32 Concurrency support library [[thread]](./#thread) ## 32.8 Semaphore [[thread.sema]](thread.sema#semaphore.syn) ### 32.8.2 Header synopsis [semaphore.syn] [🔗](#header:%3csemaphore%3e) namespace std {// [[thread.sema.cnt]](thread.sema.cnt "32.8.3 Class template counting_­semaphore"), class template counting_semaphoretemplateclass counting_semaphore; using [binary_semaphore](#lib:binary_semaphore "32.8.2 Header synopsis [semaphore.syn]") = counting_semaphore<1>;}