#include <src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h>
|
void | swap (AtomicRefCounter &other) |
| Swaps this instance's reference counter with the one given, this allows for copy-and-swap semantics of this object. More...
|
|
bool | release () |
| Removes a reference to the counter Atomically and returns if the counter has reached zero, once the counter hits zero, the internal counter is destroyed and this instance is now considered to be unreferenced. More...
|
|
decaf::util::concurrent::atomic::AtomicRefCounter::AtomicRefCounter |
( |
| ) |
|
|
inline |
virtual decaf::util::concurrent::atomic::AtomicRefCounter::~AtomicRefCounter |
( |
| ) |
|
|
inlinevirtual |
bool decaf::util::concurrent::atomic::AtomicRefCounter::release |
( |
| ) |
|
|
inlineprotected |
void decaf::util::concurrent::atomic::AtomicRefCounter::swap |
( |
AtomicRefCounter & |
other | ) |
|
|
inlineprotected |
Swaps this instance's reference counter with the one given, this allows for copy-and-swap semantics of this object.
- Parameters
-
other | The value to swap with this one's. |
The documentation for this class was generated from the following file: