## Interlocked::Decrement(int32_t\&) method


Decrements value atomically.

```cpp
static int32_t System::Threading::Interlocked::Decrement(int32_t &location)
```


| Parameter | Type | Description |
| --- | --- | --- |
| location | int32_t\& | Variable reference to decrement. |

### ReturnValue

Value of variable right after it was decremented.

## See Also

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PDF for C++](../../../)
## Interlocked::Decrement(int64_t\&) method


Decrements value atomically.

```cpp
static int64_t System::Threading::Interlocked::Decrement(int64_t &location)
```


| Parameter | Type | Description |
| --- | --- | --- |
| location | int64_t\& | Variable reference to decrement. |

### ReturnValue

Value of variable right after it was decremented.

## See Also

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.PDF for C++](../../../)
