Go to the documentation of this file.
19 #ifndef GRPC_CORE_LIB_IOMGR_EXECUTOR_MPMCQUEUE_H
20 #define GRPC_CORE_LIB_IOMGR_EXECUTOR_MPMCQUEUE_H
41 virtual void Put(
void*
elem) = 0;
49 virtual int count()
const = 0;
74 int count()
const override {
return count_.load(std::memory_order_relaxed); }
void PushWaiter(Waiter *waiter)
gpr_timespec total_queue_time
GPRAPI gpr_timespec gpr_time_0(gpr_clock_type type)
void Put(void *elem) override
virtual int count() const =0
size_t delete_list_count_
DebugOnlyTraceFlag grpc_thread_pool_trace(false, "thread_pool")
virtual ~MPMCQueueInterface()
int count() const override
gpr_timespec max_queue_time
unsigned __int64 uint64_t
int init_num_nodes() const
Node * AllocateNodes(int num)
virtual void * Get(gpr_timespec *wait_time)=0
std::atomic< int > count_
~InfLenFIFOQueue() override
void RemoveWaiter(Waiter *waiter)
static const int kQueueInitNumNodes
gpr_timespec busy_queue_time
void * Get(gpr_timespec *wait_time) override
static const int kDeleteListInitSize
virtual void Put(void *elem)=0
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:41