fn() atomicMinLock-free implemenattion of x = min(x, y).
Lock-free implemenattion of x = min(x, y).
Defined in | <seqan/parallel.h> |
---|---|
Signature |
void atomicMin(x, y);
|
Parameters
x
|
Integer to set to min(x, y). |
---|---|
y
|
Other integer. |
Detailed Description
This is equivalent to
atomic {
x = min(x, y);
}
Data Races
Thread safety unknown!