Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Atomically decrements the value in a memory location.
inline int atomic_fetch_dec(
_Inout_ int * _Dest
) restrict(amp);
inline unsigned int atomic_fetch_dec(
_Inout_ unsigned int * _Dest
) restrict(amp);
Parameters
- _Dest
Pointer to the memory location.
Return Value
The original value of the memory location.
Requirements
Header: amp.h
Namespace: Concurrency