atomicRefCountDec

Atomically decreases the reference count.

If true is returned, the reference count reached 0. After this point, arc is an undefined state and must be reinitialized with glib.global.atomicRefCountInit to be used again.

bool
atomicRefCountDec
(
ref int arc
)

Parameters

arc int

the address of an atomic reference count variable

Return Value

Type: bool

true if the reference count reached 0, and false otherwise