Workspace 6.21.5
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ConcurrentQueueDefaultTraits Struct Reference

#include <Workspace/Application/concurrentqueue.h>

Public Types

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

Static Public Member Functions

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

Static Public Attributes

static const size_t BLOCK_SIZE = 32
 
static const size_t EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD = 32
 
static const std::uint32_t EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE = 256
 
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 int MAX_SEMA_SPINS = 10000
 
static const size_t MAX_SUBQUEUE_SIZE = details::const_numeric_max<size_t>::value
 
static const bool RECYCLE_ALLOCATED_BLOCKS = false
 

Member Typedef Documentation

◆ index_t

typedef std::size_t index_t

◆ size_t

typedef std::size_t size_t

Member Function Documentation

◆ free()

static void free ( void *  ptr)
inlinestatic

◆ malloc()

static void * malloc ( size_t  size)
inlinestatic

Member Data Documentation

◆ BLOCK_SIZE

const size_t BLOCK_SIZE = 32
static

◆ EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD

const size_t EXPLICIT_BLOCK_EMPTY_COUNTER_THRESHOLD = 32
static

◆ EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE

const std::uint32_t EXPLICIT_CONSUMER_CONSUMPTION_QUOTA_BEFORE_ROTATE = 256
static

◆ EXPLICIT_INITIAL_INDEX_SIZE

const size_t EXPLICIT_INITIAL_INDEX_SIZE = 32
static

◆ IMPLICIT_INITIAL_INDEX_SIZE

const size_t IMPLICIT_INITIAL_INDEX_SIZE = 32
static

◆ INITIAL_IMPLICIT_PRODUCER_HASH_SIZE

const size_t INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = 32
static

◆ MAX_SEMA_SPINS

const int MAX_SEMA_SPINS = 10000
static

◆ MAX_SUBQUEUE_SIZE

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

◆ RECYCLE_ALLOCATED_BLOCKS

const bool RECYCLE_ALLOCATED_BLOCKS = false
static