33
Concurrency support library
[thread]
33.8
Semaphore
[thread.sema]
33.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
>
;
}