Decrement()

Interlocked::Decrement(int32_t&) method

Decrements value atomically.

static int32_t System::Threading::Interlocked::Decrement(int32_t &location)

Arguments

ParameterTypeDescription
locationint32_t&Variable reference to decrement.

Return Value

Value of variable right after it was decremented.

Interlocked::Decrement(int64_t&) method

Decrements value atomically.

static int64_t System::Threading::Interlocked::Decrement(int64_t &location)

Arguments

ParameterTypeDescription
locationint64_t&Variable reference to decrement.

Return Value

Value of variable right after it was decremented.

See Also