类 | |
struct | BlockIndexEntry |
struct | BlockIndexHeader |
Public 成员函数 | |
template<typename U > | |
bool | dequeue (U &element) |
template<typename It > | |
size_t | dequeue_bulk (It &itemFirst, size_t max) |
template<AllocationMode allocMode, typename U > | |
bool | enqueue (U &&element) |
template<AllocationMode allocMode, typename It > | |
bool | enqueue_bulk (It itemFirst, size_t count) |
ExplicitProducer (ConcurrentQueue *parent) | |
~ExplicitProducer () | |
Public 成员函数 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase | |
template<typename U > | |
bool | dequeue (U &element) |
template<typename It > | |
size_t | dequeue_bulk (It &itemFirst, size_t max) |
index_t | getTail () const |
ProducerBase * | next_prod () const |
ProducerBase (ConcurrentQueue *parent_, bool isExplicit_) | |
size_t | size_approx () const |
virtual | ~ProducerBase () |
Public 成员函数 继承自 moodycamel::details::ConcurrentQueueProducerTypelessBase | |
ConcurrentQueueProducerTypelessBase () | |
Private 成员函数 | |
bool | new_block_index (size_t numberOfFilledSlotsToExpose) |
Private 属性 | |
std::atomic< BlockIndexHeader * > | blockIndex |
BlockIndexEntry * | pr_blockIndexEntries |
size_t | pr_blockIndexFront |
void * | pr_blockIndexRaw |
size_t | pr_blockIndexSize |
size_t | pr_blockIndexSlotsUsed |
额外继承的成员函数 | |
Public 属性 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase | |
bool | isExplicit |
ConcurrentQueue * | parent |
Public 属性 继承自 moodycamel::details::ConcurrentQueueProducerTypelessBase | |
std::atomic< bool > | inactive |
ConcurrentQueueProducerTypelessBase * | next |
ProducerToken * | token |
Protected 属性 继承自 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase | |
std::atomic< index_t > | dequeueOptimisticCount |
std::atomic< index_t > | dequeueOvercommit |
std::atomic< index_t > | headIndex |
Block * | tailBlock |
std::atomic< index_t > | tailIndex |
在文件 ConcurrentQueue.h 第 1710 行定义.
|
inlineexplicit |
在文件 ConcurrentQueue.h 第 1712 行定义.
引用了 moodycamel::details::ceil_to_pow_2(), moodycamel::ConcurrentQueue< T, Traits >::initialBlockPoolSize, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index(), moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::parent , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize.
|
inline |
在文件 ConcurrentQueue.h 第 1729 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::add_block_to_free_list(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::BlockIndexEntry::block, moodycamel::ConcurrentQueue< T, Traits >::BLOCK_SIZE, moodycamel::ConcurrentQueue< T, Traits >::destroy(), moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex, moodycamel::ConcurrentQueue< T, Traits >::Block::next, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::parent, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexEntries, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexFront, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexRaw, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSlotsUsed, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailBlock , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.
|
inline |
在文件 ConcurrentQueue.h 第 1898 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::BLOCK_SIZE, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOptimisticCount, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOvercommit, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex, moodycamel::details::likely(), MOODYCAMEL_NOEXCEPT_ASSIGN , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.
|
inline |
在文件 ConcurrentQueue.h 第 2183 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::BLOCK_SIZE, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOptimisticCount, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::dequeueOvercommit, moodycamel::details::deref_noexcept(), moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex, MOODYCAMEL_CATCH, MOODYCAMEL_NOEXCEPT_ASSIGN, MOODYCAMEL_RETHROW, MOODYCAMEL_TRY , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.
|
inline |
在文件 ConcurrentQueue.h 第 1795 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::BLOCK_SIZE, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex, moodycamel::ConcurrentQueue< T, Traits >::CannotAlloc, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex, moodycamel::ConcurrentQueue< T, Traits >::MAX_SUBQUEUE_SIZE, MOODYCAMEL_CATCH, MOODYCAMEL_NOEXCEPT_CTOR, MOODYCAMEL_RETHROW, MOODYCAMEL_TRY, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index(), moodycamel::ConcurrentQueue< T, Traits >::Block::next, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::parent, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexFront, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexRaw, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSlotsUsed, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailBlock , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.
|
inline |
在文件 ConcurrentQueue.h 第 1998 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::BLOCK_SIZE, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex, moodycamel::ConcurrentQueue< T, Traits >::CannotAlloc, moodycamel::details::deref_noexcept(), moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::headIndex, moodycamel::ConcurrentQueue< T, Traits >::MAX_SUBQUEUE_SIZE, MOODYCAMEL_CATCH, MOODYCAMEL_NOEXCEPT_CTOR, MOODYCAMEL_RETHROW, MOODYCAMEL_TRY, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index(), moodycamel::ConcurrentQueue< T, Traits >::Block::next, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::parent, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexFront, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexRaw, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSlotsUsed, moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailBlock , 以及 moodycamel::ConcurrentQueue< T, Traits >::ProducerBase::tailIndex.
|
inlineprivate |
在文件 ConcurrentQueue.h 第 2291 行定义.
引用了 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::blockIndex, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexEntries, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexFront, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexRaw, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSize, moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::pr_blockIndexSlotsUsed , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::BlockIndexHeader::size.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::ExplicitProducer().
|
private |
在文件 ConcurrentQueue.h 第 2331 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::dequeue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index().
|
private |
|
private |
在文件 ConcurrentQueue.h 第 2336 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::~ExplicitProducer().
|
private |
在文件 ConcurrentQueue.h 第 2338 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::~ExplicitProducer().
|
private |
在文件 ConcurrentQueue.h 第 2335 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::ExplicitProducer(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::~ExplicitProducer().
|
private |
在文件 ConcurrentQueue.h 第 2334 行定义.
被这些函数引用 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::enqueue_bulk(), moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::new_block_index() , 以及 moodycamel::ConcurrentQueue< T, Traits >::ExplicitProducer::~ExplicitProducer().