![]() | IAtomicCounterT Methods |
The IAtomicCounterT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddAndGet |
Adds the specified value to the counter and returns the new value.
|
![]() | GetAndAdd |
Returns the current value and adds the specified value to the counter.
|
![]() | GetAndIncrement |
Atomically increments the counter by one.
|
![]() | IncrementAndGet |
Atomically increments the counter by one.
|
![]() | Next |
Increments the counter and gets the next value. This is exactly the same as calling IncrementAndGet.
|
![]() | Reset |
Resets the counter to zero.
|