Function
atomicMin
Lock-free implementation of x = min(x, y) .
Parameters
|  Integer to set to min(x, y) | |
|  Other integer. | 
Remarks
 This is equivalent to
x = min(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.
See Also
SeqAn - Sequence Analysis Library - www.seqan.de