atomic_fetch_inc Function

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);


The location in memory of the value to be incremented.

The original value stored at the memory location.

Header: amp.h

Namespace: Concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft