Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

atomic_fetch_dec Function

Atomically decrements the value stored at the specified memory location.

inline int atomic_fetch_dec(
   _Inout_ int * _Dest
) restrict(amp);

inline unsigned int atomic_fetch_dec(
   _Inout_ unsigned int * _Dest
) restrict(amp);

_Dest

The location in memory of the value to be decremented.

The original value stored at the memory location.

Header: amp.h

Namespace: Concurrency

Show:
© 2015 Microsoft