32
Concurrency support library
[thread]
32.8
Semaphore
[thread.sema]
32.8.2
Header
<semaphore>
synopsis
[semaphore.syn]
🔗
namespace
std
{
//
[thread.
sema.
cnt]
, class template
counting_
semaphore
template
<
ptrdiff_t least_max_value
=
implementation-defined
>
class
counting_semaphore;
using
binary_semaphore
=
counting_semaphore
<
1
>
;
}