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_or Function

Atomically performs a bitwise OR operation with a value and the value of a memory location.

inline int atomic_fetch_or(
   _Inout_ int * _Dest,
   int _Value                     
) restrict(amp);
inline unsigned int atomic_fetch_or(
   _Inout_ unsigned int * _Dest,
   unsigned int _Value                     
) restrict(amp);


Pointer to the memory location.


The value to use in the bitwise OR calculation.

The original value of the memory location.

Header: amp.h

Namespace: Concurrency

© 2015 Microsoft