proxygen
DynamicBoundedQueue.h File Reference
#include <folly/concurrency/CacheLocality.h>
#include <folly/concurrency/UnboundedQueue.h>
#include <glog/logging.h>
#include <atomic>
#include <chrono>

Go to the source code of this file.

Classes

struct  folly::DefaultWeightFn< T >
 
class  folly::DynamicBoundedQueue< T, SingleProducer, SingleConsumer, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 

Typedefs

template<typename T , bool MayBlock, size_t LgSegmentSize = 8, size_t LgAlign = 7, typename WeightFn = DefaultWeightFn<T>, template< typename > class Atom = std::atomic>
using folly::DSPSCQueue = DynamicBoundedQueue< T, true, true, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >
 Aliases. More...
 
template<typename T , bool MayBlock, size_t LgSegmentSize = 8, size_t LgAlign = 7, typename WeightFn = DefaultWeightFn<T>, template< typename > class Atom = std::atomic>
using folly::DMPSCQueue = DynamicBoundedQueue< T, false, true, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >
 
template<typename T , bool MayBlock, size_t LgSegmentSize = 8, size_t LgAlign = 7, typename WeightFn = DefaultWeightFn<T>, template< typename > class Atom = std::atomic>
using folly::DSPMCQueue = DynamicBoundedQueue< T, true, false, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >
 
template<typename T , bool MayBlock, size_t LgSegmentSize = 8, size_t LgAlign = 7, typename WeightFn = DefaultWeightFn<T>, template< typename > class Atom = std::atomic>
using folly::DMPMCQueue = DynamicBoundedQueue< T, false, false, MayBlock, LgSegmentSize, LgAlign, WeightFn, Atom >