As asked, is there an CMPXGCHG-like function in the standard? I tried looking for keywords such as cmp, comp, ch, but nothing turned up in the system interfaces list.
The C language introduced atomic functions in C11 though.
As asked, is there an CMPXGCHG-like function in the standard? I tried looking for keywords such as cmp, comp, ch, but nothing turned up in the system interfaces list.
The C language introduced atomic functions in C11 though.