qb_atomic_int_exchange_and_add - Atomically adds val to the integer pointed to
volatile int32_t QB_GNUC_MAY_ALIAS *atomic,
atomic a pointer to an integer
val the value to add to *atomic
It returns the value of *atomic just before the addition took place. Also acts
as a memory barrier.
the value of *atomic before the addition.
Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.