Windows provides a family of functions for performing atomic operations. They have the word Interlocked in their name. But why do these functions even exist when we have std::atomic? This is similar to asking
Why does Windows even have

Interlocked
functions when we have std::atomic
?Windows provides a family of functions for performing atomic operations. They have the word Interlocked in their name. But why do these functions even exist when we have std::atomic? This is similar to asking