atomic_clear() function
Atomic clear. This routine atomically sets @a target to zero and returns its previous value. (Hence, it is equivalent to atomic_set(target, 0).)
Arguments
target
Address of atomic variable.
Return value
Previous value of @a target.
atomic_clear() is called by 2 functions and calls 1 function:
![]()
atomic_clear()
atomic_clear():
![]()
atomic_clear()