|
Nebula
|
#include <interlocked.h>
Public Member Functions | |
| int64 | Add (int64 add) |
| Add. | |
| int64 | Sub (int64 sub) |
| Subtract. | |
| int64 | Or (int64 mask) |
| Or. | |
| int64 | And (int64 mask) |
| And. | |
| int64 | Exchange (int64 value) |
| Exchange. | |
| int64 | CompareExchange (int64 exchange, int64 comparand) |
| Compare and exchange. | |
| int64 | Increment (int64 incr) |
| Increment and return new value. | |
| int64 | Decrement (int64 decr) |
| Decrement and return new value. | |
Private Attributes | |
| volatile int64 | value |
|
inline |
Compare and exchange.
Decrement and return new value.
Increment and return new value.
|
private |