Function

GLib-2.0GLibatomic_ref_count_compareSince 2.58

  • Atomically compares the current value of arc with val.

    Parameters

    • arc: number

      the address of an atomic reference count variable

    • val: number

      the value to compare

    Returns boolean

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

    2.58