O'Reilly logo
  • wei zhou thinks this is interesting:

If the std::atomic_flag object has static storage duration, it’s guaranteed to be statically initialized, which means that there are no initialization-order issues;