System::Threading::Interlocked::Decrement method

Interlocked::Decrement(int32_t&) method

値を原子的に減少させます。

static int32_t System::Threading::Interlocked::Decrement(int32_t &location)
パラメーター説明
locationint32_t&減算する変数参照。

ReturnValue

減算直後の変数の値。

参照

Interlocked::Decrement(int64_t&) method

値を原子的に減少させます。

static int64_t System::Threading::Interlocked::Decrement(int64_t &location)
パラメーター説明
locationint64_t&減算する変数参照。

ReturnValue

減算直後の変数の値。

参照