as the given value
atomicRefCountCompare
fn
bool atomicRefCountCompare(ref int arc, int val)Atomically compares the current value of arc with val.
Parameters
arc | the address of an atomic reference count variable |
val | the value to compare |
Returns
true if the reference count is the same