chromium/v8/src/utils/locked-queue-inl.h

// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_UTILS_LOCKED_QUEUE_INL_H_
#define V8_UTILS_LOCKED_QUEUE_INL_H_

#include "src/base/atomic-utils.h"
#include "src/utils/allocation.h"
#include "src/utils/locked-queue.h"

namespace v8 {
namespace internal {

template <typename Record>
struct LockedQueue<Record>::Node : Malloced {};

template <typename Record>
inline LockedQueue<Record>::LockedQueue() {}

template <typename Record>
inline LockedQueue<Record>::~LockedQueue() {}

template <typename Record>
inline void LockedQueue<Record>::Enqueue(Record record) {}

template <typename Record>
inline bool LockedQueue<Record>::Dequeue(Record* record) {}

template <typename Record>
inline bool LockedQueue<Record>::IsEmpty() const {}

template <typename Record>
inline bool LockedQueue<Record>::Peek(Record* record) const {}

template <typename Record>
inline size_t LockedQueue<Record>::size() const {}

}  // namespace internal
}  // namespace v8

#endif  // V8_UTILS_LOCKED_QUEUE_INL_H_