This documentation is archived and is not being maintained.

atomic_fetch_xor Function

Atomically peforms an bitwise XOR operation of a value and a memory location.

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


Pointer to the memory location.


The value to use in the XOR calculation.

The original value of the memory location.

Header: amp.h

Namespace: Concurrency