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
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | Loading commit data... | |
| append_truncated.h | Loading commit data... | |
| check_op.cc | Loading commit data... | |
| check_op.h | Loading commit data... | |
| conditions.cc | Loading commit data... | |
| conditions.h | Loading commit data... | |
| config.h | Loading commit data... | |
| flags.h | Loading commit data... | |
| globals.cc | Loading commit data... | |
| globals.h | Loading commit data... | |
| log_format.cc | Loading commit data... | |
| log_format.h | Loading commit data... | |
| log_message.cc | Loading commit data... | |
| log_message.h | Loading commit data... | |
| log_sink_set.cc | Loading commit data... | |
| log_sink_set.h | Loading commit data... | |
| nullguard.h | Loading commit data... | |
| nullstream.h | Loading commit data... | |
| stderr_log_sink_test.cc | Loading commit data... | |
| strip.h | Loading commit data... | |
| test_actions.cc | Loading commit data... | |
| test_actions.h | Loading commit data... | |
| test_helpers.cc | Loading commit data... | |
| test_helpers.h | Loading commit data... | |
| test_matchers.cc | Loading commit data... | |
| test_matchers.h | Loading commit data... | |
| voidify.h | Loading commit data... |