Documentation
Dlang.org
AtomicCounter
rx
util
package shared
class
AtomicCounter {
this
(
size_t
n
)
;
bool
isZero
()
;
bool
tryUpdateCount
()
;
auto
tryDecrement
()
;
bool
trySetZero
()
;
}
Constructors
this
this
(
size_t
n
)
Members
Functions
isZero
bool
isZero
()
tryDecrement
auto
tryDecrement
()
trySetZero
bool
trySetZero
()
tryUpdateCount
bool
tryUpdateCount
()
rx
util
aliases
Ticket
classes
AtomicCounter
EventSignal
TicketBase
functions
assumeThreadLocal
exchange