...

/

std::atomic_flag Extensions

std::atomic_flag Extensions

Get a brief background on 'std::atomic_flag' extensions.

We'll cover the following...

Before I write about std::atomic_flag extension in C++20, I want to give a short reminder of std::atomic_flag in C++11. If you want to read more details, read my post about std::atomic_flag in C++11.

C++11

std::atomic_flag is a kind of atomic boolean. It has a clear- and set-state functions. I call the clear state false and the set state true for simplicity. ...