1 #ifndef FWCore_Utilities_SingleConsumerQ_h
2 #define FWCore_Utilities_SingleConsumerQ_h
39 #include <condition_variable>
109 typedef std::vector<void*>
Pool;
std::condition_variable pop_cond_
static void commit(SingleConsumerQ &b, void *v, int size)
void releaseConsumerBuffer(void *)
OperateBuffer(SingleConsumerQ &b)
static void release(SingleConsumerQ &b, void *v)
std::vector< void * > Pool
SingleConsumerQ::Buffer v_
Buffer getProducerBuffer()
std::vector< Buffer > Queue
void releaseProducerBuffer(void *)
std::condition_variable pool_cond_
OperateBuffer< ProducerType > ProducerBuffer
OperateBuffer< ConsumerType > ConsumerBuffer
std::condition_variable push_cond_
static void commit(SingleConsumerQ &b, void *v, int size)
void commit(int theSize=0)
std::vector< char > ByteArray
void commitProducerBuffer(void *, int)
void commitConsumerBuffer(void *, int)
T const & get(Event const &event, InputTag const &tag) noexcept(false)
int maxQueueDepth() const
tuple size
Write out results.
SingleConsumerQ(const SingleConsumerQ &)=delete
static void release(SingleConsumerQ &b, void *v)
Buffer getConsumerBuffer()