// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_SYNCHRONIZATION_ATOMIC_FLAG_H_ #define BASE_SYNCHRONIZATION_ATOMIC_FLAG_H_ #include <stdint.h> #include <atomic> #include "base/base_export.h" #include "base/sequence_checker.h" namespace base { // A flag that can safely be set from one thread and read from other threads. // // This class IS NOT intended for synchronization between threads. class BASE_EXPORT AtomicFlag { … }; } // namespace base #endif // BASE_SYNCHRONIZATION_ATOMIC_FLAG_H_