Method SubSat
SubSat(int, int)
Atomically subtracts a value from this counter. The result will not be less than a minimum value.
Declaration
public int SubSat(int value, int min = -2147483648)
Parameters
| Type | Name | Description |
|---|---|---|
| int | value | The value to subtract from this counter. |
| int | min | The minimum which the result will not be less than. |
Returns
| Type | Description |
|---|---|
| int | The original value before the subtract. |