Function

atomicXor

Atomically combine wto integers with XOR operation.

Include Headers

seqan/parallel.h

Parameters

x, by reference. | |

Integer to combine with |

Remarks

This is equivalent to an atomic x ^= y .

Atomic fetch-and-xor for 64 bit integers is only available on 64 bit processors when targeting Intel.

Atomic fetch-and-xor does not work in VS8 on 64 bit Windows, you can only use atomicXor() portably on 32 and 64 bit integers.

You are responsible for correctly aligning x such that the atomic increment works on the hardware you target.

Return Values

The old value of x .

SeqAn - Sequence Analysis Library - www.seqan.de