Function
atomicXor
Atomically combine wto integers with XOR operation.
atomicXor(x, y)
Include Headers
seqan/parallel.h
Parameters
x
x, by reference.
y
Integer to combine with XOR operation.
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
 

Page built @2011/02/08 21:37:03