#include "base/atomicops.h"
#include "base/basictypes.h"
#include "base/threading/platform_thread.h"
-#include "base/third_party/dynamic_annotations/dynamic_annotations.h"
namespace base {
namespace internal {
subtle::AtomicWord new_instance,
void* lazy_instance,
void (*dtor)(void*)) {
- // See the comment to the corresponding HAPPENS_AFTER in Pointer().
- ANNOTATE_HAPPENS_BEFORE(state);
-
// Instance is created, go from CREATING to CREATED.
// Releases visibility over private_buf_ to readers. Pairing Acquire_Load's
// are in NeedsInstance() and Pointer().