#include <atomic>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <type_traits>
#include <algorithm>
#include <utility>
#include <limits>
#include <climits>
#include <array>
#include <thread>
#include <carla/Exception.h>
命名空间 | |
namespace | moodycamel |
namespace | moodycamel::details |
宏定义 | |
#define | MOODYCAMEL_CATCH(...) catch(__VA_ARGS__) |
#define | MOODYCAMEL_DELETE_FUNCTION = delete |
#define | MOODYCAMEL_EXCEPTIONS_ENABLED |
#define | MOODYCAMEL_NOEXCEPT noexcept |
#define | MOODYCAMEL_NOEXCEPT_ASSIGN(type, valueType, expr) noexcept(expr) |
#define | MOODYCAMEL_NOEXCEPT_CTOR(type, valueType, expr) noexcept(expr) |
#define | MOODYCAMEL_RETHROW throw |
#define | MOODYCAMEL_THREADLOCAL thread_local |
#define | MOODYCAMEL_THROW(expr) ::carla::throw_exception(expr) |
#define | MOODYCAMEL_TRY try |
类型定义 | |
typedef std::max_align_t | moodycamel::details::std_max_align_t |
typedef std::uintptr_t | moodycamel::details::thread_id_t |
函数 | |
template<typename U > | |
static char * | moodycamel::details::align_for (char *ptr) |
template<typename T > | |
static T | moodycamel::details::ceil_to_pow_2 (T x) |
template<typename T > | |
static bool | moodycamel::details::circular_less_than (T a, T b) |
template<typename It > | |
static auto | moodycamel::details::deref_noexcept (It &it) MOODYCAMEL_NOEXCEPT -> decltype(*it) |
static size_t | moodycamel::details::hash_thread_id (thread_id_t id) |
static bool | moodycamel::details::likely (bool x) |
template<typename T > | |
static T const & | moodycamel::details::nomove (T const &x) |
template<typename T , typename Traits > | |
void | moodycamel::swap (ConcurrentQueue< T, Traits > &a, ConcurrentQueue< T, Traits > &b) MOODYCAMEL_NOEXCEPT |
void | moodycamel::swap (ConsumerToken &a, ConsumerToken &b) MOODYCAMEL_NOEXCEPT |
void | moodycamel::swap (ProducerToken &a, ProducerToken &b) MOODYCAMEL_NOEXCEPT |
template<typename T , typename Traits > | |
void | moodycamel::swap (typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &a, typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &b) MOODYCAMEL_NOEXCEPT |
template<typename T > | |
static void | moodycamel::details::swap_relaxed (std::atomic< T > &left, std::atomic< T > &right) |
static thread_id_t | moodycamel::details::thread_id () |
static bool | moodycamel::details::unlikely (bool x) |
变量 | |
static const thread_id_t | moodycamel::details::invalid_thread_id = 0 |
static const thread_id_t | moodycamel::details::invalid_thread_id2 = 1 |
#define MOODYCAMEL_CATCH | ( | ... | ) | catch(__VA_ARGS__) |
在文件 ConcurrentQueue.h 第 171 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_DELETE_FUNCTION = delete |
在文件 ConcurrentQueue.h 第 225 行定义.
#define MOODYCAMEL_EXCEPTIONS_ENABLED |
在文件 ConcurrentQueue.h 第 157 行定义.
#define MOODYCAMEL_NOEXCEPT noexcept |
在文件 ConcurrentQueue.h 第 199 行定义.
#define MOODYCAMEL_NOEXCEPT_ASSIGN | ( | type, | |
valueType, | |||
expr ) noexcept(expr) |
在文件 ConcurrentQueue.h 第 201 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue_bulk().
#define MOODYCAMEL_NOEXCEPT_CTOR | ( | type, | |
valueType, | |||
expr ) noexcept(expr) |
在文件 ConcurrentQueue.h 第 200 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_RETHROW throw |
在文件 ConcurrentQueue.h 第 172 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_THREADLOCAL thread_local |
在文件 ConcurrentQueue.h 第 144 行定义.
被这些函数引用 moodycamel::details::thread_id().
#define MOODYCAMEL_THROW | ( | expr | ) | ::carla::throw_exception(expr) |
在文件 ConcurrentQueue.h 第 173 行定义.
#define MOODYCAMEL_TRY try |
在文件 ConcurrentQueue.h 第 170 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().