mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
Semaphore.this
mecca
reactor
sync
semaphore
Semaphore
Construct a semaphore with given capacity.
struct
Semaphore
pure nothrow @
safe
@
nogc
this
(
size_t
capacity
,
size_t
used
= 0
)
Meta
Source
See Implementation
mecca
reactor
sync
semaphore
Semaphore
constructors
this
functions
acquire
close
open
release
setCapacity
tryAcquire
postblits
this(this)
properties
capacity
level
Construct a semaphore with given capacity.