## Interlocked::ExchangeAdd(int32_t\&, int32_t) method


교환-추가 절차를 통해 값을 원자적으로 증가시킵니다.

```cpp
static int32_t System::Threading::Interlocked::ExchangeAdd(int32_t &location1, int32_t value)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| location1 | int32_t\& | 증가시킬 변수 참조. |
| value | int32_t | **location1**에 추가할 값. |

### ReturnValue

증가된 직후 변수의 값.

## 또 보기

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
## Interlocked::ExchangeAdd(int64_t\&, int64_t) method


교환-추가 절차를 통해 값을 원자적으로 증가시킵니다.

```cpp
static int64_t System::Threading::Interlocked::ExchangeAdd(int64_t &location1, int64_t value)
```


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| location1 | int64_t\& | 증가시킬 변수 참조. |
| value | int64_t | **location1**에 추가할 값. |

### ReturnValue

증가된 직후 변수의 값.

## 또 보기

* Class [Interlocked](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
