Agora  1.2.0
Agora project
moodycamel::ConcurrentQueueDefaultTraits Struct Reference

#include <concurrentqueue.h>

Public Types

typedef std::size_t size_t
 
typedef std::size_t index_t
 

Static Public Member Functions

static void * malloc (size_t size)
 
static void free (void *ptr)
 

Static Public Attributes

static const size_t BLOCK_SIZE = 32
 
static const size_t EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD = 32
 
static const size_t EXPLICIT_INITIAL_INDEX_SIZE = 32
 
static const size_t IMPLICIT_INITIAL_INDEX_SIZE = 32
 
static const size_t INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = 32
 
static const std::uint32_t EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE = 256
 
static const size_t MAX_SUBQUEUE_SIZE = details::const_numeric_max<size_t>::value
 
static const int MAX_SEMA_SPINS = 10000
 

Member Typedef Documentation

◆ index_t

◆ size_t

Member Function Documentation

◆ free()

static void moodycamel::ConcurrentQueueDefaultTraits::free ( void *  ptr)
inlinestatic
Here is the call graph for this function:

◆ malloc()

static void* moodycamel::ConcurrentQueueDefaultTraits::malloc ( size_t  size)
inlinestatic

Member Data Documentation

◆ BLOCK_SIZE

const size_t moodycamel::ConcurrentQueueDefaultTraits::BLOCK_SIZE = 32
static

◆ EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD

const size_t moodycamel::ConcurrentQueueDefaultTraits::EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD = 32
static

◆ EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE

const std::uint32_t moodycamel::ConcurrentQueueDefaultTraits::EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE = 256
static

◆ EXPLICIT_INITIAL_INDEX_SIZE

const size_t moodycamel::ConcurrentQueueDefaultTraits::EXPLICIT_INITIAL_INDEX_SIZE = 32
static

◆ IMPLICIT_INITIAL_INDEX_SIZE

const size_t moodycamel::ConcurrentQueueDefaultTraits::IMPLICIT_INITIAL_INDEX_SIZE = 32
static

◆ INITIAL_IMPLICIT_PRODUCER_HASH_SIZE

const size_t moodycamel::ConcurrentQueueDefaultTraits::INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = 32
static

◆ MAX_SEMA_SPINS

const int moodycamel::ConcurrentQueueDefaultTraits::MAX_SEMA_SPINS = 10000
static

◆ MAX_SUBQUEUE_SIZE

const size_t moodycamel::ConcurrentQueueDefaultTraits::MAX_SUBQUEUE_SIZE = details::const_numeric_max<size_t>::value
static

The documentation for this struct was generated from the following file: