Método System::Threading::Interlocked::ExchangeAdd
Contenido
[
Ocultar
]Interlocked::ExchangeAdd(int32_t&, int32_t) method
Incrementa el valor de forma atómica mediante el procedimiento exchange-add.
static int32_t System::Threading::Interlocked::ExchangeAdd(int32_t &location1, int32_t value)
| Parámetro | Tipo | Descripción |
|---|---|---|
| location1 | int32_t& | Referencia de variable para incrementar. |
| value | int32_t | Valor a añadir a location1. |
ReturnValue
Valor de la variable justo después de haber sido incrementada.
Ver también
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Page for C++
Interlocked::ExchangeAdd(int64_t&, int64_t) method
Incrementa el valor de forma atómica mediante el procedimiento exchange-add.
static int64_t System::Threading::Interlocked::ExchangeAdd(int64_t &location1, int64_t value)
| Parámetro | Tipo | Descripción |
|---|---|---|
| location1 | int64_t& | Referencia de variable para incrementar. |
| value | int64_t | Valor a añadir a location1. |
ReturnValue
Valor de la variable justo después de haber sido incrementada.
Ver también
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Page for C++