System::Threading::Interlocked::ExchangeAdd méthode
Contenu
[
Cacher
]Interlocked::ExchangeAdd(int32_t&, int32_t) method
Augmente la valeur de façon atomique via la procédure d’échange-add.
static int32_t System::Threading::Interlocked::ExchangeAdd(int32_t &location1, int32_t value)
| Paramètre | Type | Description |
|---|---|---|
| location1 | int32_t& | Référence de variable à augmenter. |
| valeur | int32_t | Valeur à ajouter à location1. |
ReturnValue
Valeur de la variable immédiatement après son incrémentation.
Voir aussi
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Font for C++
Interlocked::ExchangeAdd(int64_t&, int64_t) method
Augmente la valeur de façon atomique via la procédure d’échange-add.
static int64_t System::Threading::Interlocked::ExchangeAdd(int64_t &location1, int64_t value)
| Paramètre | Type | Description |
|---|---|---|
| location1 | int64_t& | Référence de variable à augmenter. |
| valeur | int64_t | Valeur à ajouter à location1. |
ReturnValue
Valeur de la variable immédiatement après son incrémentation.
Voir aussi
- Class Interlocked
- Namespace System::Threading
- Library Aspose.Font for C++