atomicRefCountCompare

Atomically compares the current value of arc with val.

bool
atomicRefCountCompare
(
ref int arc
,
int val
)

Parameters

arc int

the address of an atomic reference count variable

val int

the value to compare

Return Value

Type: bool

true if the reference count is the same as the given value