Files
2025-10-25 03:02:53 +03:00

12 lines
583 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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.3Class 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.2Header <semaphore> synopsis[semaphore.syn]") = counting_semaphore<1>;}