chromium/third_party/blink/renderer/platform/wtf/atomic_operations.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/platform/wtf/atomic_operations.h"

namespace WTF {

namespace {

template <typename AlignmentType>
void AtomicReadMemcpyImpl(void* to, const void* from, size_t bytes) {}

template <typename AlignmentType>
void AtomicWriteMemcpyImpl(void* to, const void* from, size_t bytes) {}

template <typename AlignmentType>
void AtomicMemzeroImpl(void* buf, size_t bytes) {}

}  // namespace

void AtomicReadMemcpy(void* to, const void* from, size_t bytes) {}

void AtomicWriteMemcpy(void* to, const void* from, size_t bytes) {}

void AtomicMemzero(void* buf, size_t bytes) {}

}  // namespace WTF