System::Threading::Interlocked::Add मेथड

Interlocked::Add(int32_t&, int32_t) method

मान को एटॉमिक रूप से बढ़ाता है।

static int32_t System::Threading::Interlocked::Add(int32_t &location1, int32_t value)
पैरामीटरप्रकारविवरण
location1int32_t&वृद्धि के लिए वैरिएबल रेफ़रेंस।
मानint32_tlocation1 में जोड़ने के लिए मान।

ReturnValue

वैरिएबल का मान तुरंत बाद जब इसे बढ़ा दिया गया था।

संबंधित देखें

Interlocked::Add(int64_t&, int64_t) method

मान को एटॉमिक रूप से बढ़ाता है।

static int64_t System::Threading::Interlocked::Add(int64_t &location1, int64_t value)
पैरामीटरप्रकारविवरण
location1int64_t&वृद्धि के लिए वैरिएबल रेफ़रेंस।
मानint64_tlocation1 में जोड़ने के लिए मान।

ReturnValue

वैरिएबल का मान तुरंत बाद जब इसे बढ़ा दिया गया था।

संबंधित देखें