Files
abseil-cpp/absl/debugging/internal
Derek Mauro b4a4a6b01f Replace std::atomic_flag with std::atomic<bool> to avoid the C++20
deprecation of ATOMIC_FLAG_INIT.

Another option would have been to use macros to only initialize
std::atomic_flag before C++20, but I decided to use one compilation
path instead.

The major difference between std::atomic_flag and std::atomic<bool> is
that the former is guaranteed to be lock-free, but we already assume
std::atomic<bool> is lock-free in many places.

https://en.cppreference.com/w/cpp/atomic/atomic_flag

PiperOrigin-RevId: 487397075
Change-Id: I3f1c539ec8b2ca58547282e69ed73e93243e8efe
2022-11-09 18:06:53 -08:00
..
2021-08-13 13:43:13 -04:00