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 | Type | Beskrivning |
|---|---|---|
| location1 | int32_t& | Variabelreferens att öka. |
| value | int32_t | Värde att lägga till location1. |
ReturnValue
Värde på variabeln precis efter att den ökades.
Se även
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Page 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 | Type | Beskrivning |
|---|---|---|
| location1 | int64_t& | Variabelreferens att öka. |
| value | int64_t | Värde att lägga till location1. |
ReturnValue
Värde på variabeln precis efter att den ökades.
Se även
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Page for C++