System::Threading::Interlocked::Add-metod
Interlocked::Add(int32_t&, int32_t) method
Ökar värdet atomärt.
static int32_t System::Threading::Interlocked::Add(int32_t &location1, int32_t value)
| Parameter | Typ | Beskrivning |
|---|---|---|
| location1 | int32_t& | Variabelreferens för att öka. |
| värde | int32_t | Värde att lägga till location1. |
ReturnValue
Variabelns värde omedelbart efter att den ökades.
Se även
- Class Interlocked
- Namespace System::Threading
- Library Aspose.PDF for C++
Interlocked::Add(int64_t&, int64_t) method
Ökar värdet atomärt.
static int64_t System::Threading::Interlocked::Add(int64_t &location1, int64_t value)
| Parameter | Typ | Beskrivning |
|---|---|---|
| location1 | int64_t& | Variabelreferens för att öka. |
| värde | int64_t | Värde att lägga till location1. |
ReturnValue
Variabelns värde omedelbart efter att den ökades.
Se även
- Class Interlocked
- Namespace System::Threading
- Library Aspose.PDF for C++