concurrency v4.12.0 (2022-07-25T21:03:12Z)
Dub
Repo
SharedBitField.lock
concurrency
bitfield
SharedBitField
Undocumented in source. Be warned that the author may not have intended to support it.
struct
SharedBitField
(Flags)
return scope @
safe
@
nogc
nothrow
static if
(
Flags.locked > 0
)
Guard
!
Flags
lock
(
size_t
or
= 0
,
size_t
add
= 0
,
size_t
sub
= 0
)
Meta
Source
See Implementation
concurrency
bitfield
SharedBitField
functions
add
load
lock
sub
update