8#include <infiniband/verbs.h>
11#include "rdmapp/executor.h"
20 std::shared_ptr<cq> cq_;
21 std::atomic<bool> stopped_;
22 std::thread poller_thread_;
23 std::shared_ptr<executor> executor_;
24 std::vector<struct ibv_wc> wc_vec_;
34 cq_poller(std::shared_ptr<cq>
cq,
size_t batch_size = 16);
44 size_t batch_size = 16);
This class is used to poll a completion queue.
Definition cq_poller.h:19
cq_poller(std::shared_ptr< cq > cq, size_t batch_size=16)
Construct a new cq poller object. A new executor will be created.
Definition cq_poller.cc:14
This class is an abstraction of a Completion Queue.
Definition cq.h:22
This class is used to execute callbacks of completion entries.
Definition executor.h:17