Atomically increments the value stored at the specified memory ___location.
inline int atomic_fetch_inc(
_Inout_ int * _Dest
) restrict(amp);
inline unsigned int atomic_fetch_inc(
_Inout_ unsigned int * _Dest
) restrict(amp);
Parameters
- _Dest
The ___location in memory of the value to be incremented.
Return Value
The original value stored at the memory ___location.
Requirements
Header: amp.h
Namespace: Concurrency