[semaphore.syn]

# 32 Concurrency support library [[thread]](./#thread)

## 32.8 Semaphore [[thread.sema]](thread.sema#semaphore.syn)

### 32.8.2 Header <semaphore> synopsis [semaphore.syn]

[ð](#header:%3csemaphore%3e)

namespace std {// [[thread.sema.cnt]](thread.sema.cnt "32.8.3 Class template counting_­semaphore"), class template counting_semaphoretemplate<ptrdiff_t least_max_value = *implementation-defined*>class counting_semaphore; using [binary_semaphore](#lib:binary_semaphore "32.8.2 Header <semaphore> synopsis [semaphore.syn]") = counting_semaphore<1>;}
