Slide 28
Slide 28 text
Concurrent primitives
● Fetch-And-Add(p, val): Long
Atomically increments the located by address p register by val
and returns the new value
● Compare-And-Swap(p, old, new): Boolean
Atomically checks if the located by address p value equals old
and replaces it with new
28