Lock-free implementation of
x = max(x, y).
Integer to set to
This is equivalent to
x = max(x, y);
While lock-free, the function tries to update
x as long as x < y in a loop and might run a long time if x is incremented continuously in another thread.
SeqAn - Sequence Analysis Library - www.seqan.de