rx ~master (2019-06-16T13:03:22Z)
Home
Dub
Repo
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
()
Meta
Source
See Implementation
rx
util
aliases
Ticket
classes
AtomicCounter
EventSignal
TicketBase
functions
assumeThreadLocal
exchange