Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
This function performs an atomic addition of a decrement value to an addend variable. The function prevents more than one thread from using the same variable simultaneously.
InterlockedDecrement( PLONG Addend);
Parameters
- Addend
[in] Value to be decremented.
Return Values
Result of binary arithmetic.
Remarks
The interlocked functions provide a simple mechanism for synchronizing access to a variable that is shared by multiple threads. The threads of different processes can use this mechanism if the variable is in shared memory.
Requirements
Header: winbase.h.
See Also
Intrinsic Functions for MIPS Microprocessors
Send Feedback on this topic to the authors