#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>
Go to the source code of this file.
Namespaces | |
moodycamel | |
moodycamel::details | |
Macros | |
#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 |
Typedefs | |
typedef std::max_align_t | moodycamel::details::std_max_align_t |
typedef std::uintptr_t | moodycamel::details::thread_id_t |
Functions | |
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 (typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &a, typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &b) MOODYCAMEL_NOEXCEPT |
template<typename T , typename Traits > | |
void | moodycamel::swap (ConcurrentQueue< T, Traits > &a, ConcurrentQueue< T, Traits > &b) MOODYCAMEL_NOEXCEPT |
void | moodycamel::swap (ProducerToken &a, ProducerToken &b) MOODYCAMEL_NOEXCEPT |
void | moodycamel::swap (ConsumerToken &a, ConsumerToken &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) |
Variables | |
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__) |
Definition at line 171 of file ConcurrentQueue.h.
Referenced by 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(), and moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_DELETE_FUNCTION = delete |
Definition at line 225 of file ConcurrentQueue.h.
Referenced by moodycamel::ConsumerToken::swap(), moodycamel::ConcurrentQueue< T, Traits >::FreeList< moodycamel::ConcurrentQueue::Block >::swap(), moodycamel::ConcurrentQueue< carla::Buffer >::~ConcurrentQueue(), and moodycamel::ProducerToken::~ProducerToken().
#define MOODYCAMEL_EXCEPTIONS_ENABLED |
Definition at line 157 of file ConcurrentQueue.h.
#define MOODYCAMEL_NOEXCEPT noexcept |
Definition at line 199 of file ConcurrentQueue.h.
Referenced by moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducerKVP::swap().
#define MOODYCAMEL_NOEXCEPT_ASSIGN | ( | type, | |
valueType, | |||
expr | |||
) | noexcept(expr) |
Definition at line 201 of file ConcurrentQueue.h.
Referenced by moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk(), and moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::dequeue_bulk().
#define MOODYCAMEL_NOEXCEPT_CTOR | ( | type, | |
valueType, | |||
expr | |||
) | noexcept(expr) |
Definition at line 200 of file ConcurrentQueue.h.
Referenced by moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk(), and moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_RETHROW throw |
Definition at line 172 of file ConcurrentQueue.h.
Referenced by 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(), and moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().
#define MOODYCAMEL_THREADLOCAL thread_local |
Definition at line 144 of file ConcurrentQueue.h.
Referenced by moodycamel::details::thread_id().
#define MOODYCAMEL_THROW | ( | expr | ) | ::carla::throw_exception(expr) |
Definition at line 173 of file ConcurrentQueue.h.
#define MOODYCAMEL_TRY try |
Definition at line 170 of file ConcurrentQueue.h.
Referenced by 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(), and moodycamel::ConcurrentQueue< T, Traits >::ImplicitProducer::enqueue_bulk().