Updates variable atomically using the specified function of its value and returns its old value.
Infinite loop that reads this atomic variable and performs the specified action on its value.
Updates variable atomically using the specified function of its value and returns its new value.