RDMA++
|
This class is used to poll a completion queue. More...
#include <rdmapp/cq_poller.h>
Public Member Functions | |
cq_poller (std::shared_ptr< cq > cq, size_t batch_size=16) | |
Construct a new cq poller object. A new executor will be created. | |
cq_poller (std::shared_ptr< cq > cq, std::shared_ptr< executor > executor, size_t batch_size=16) | |
Construct a new cq poller object. | |
This class is used to poll a completion queue.
rdmapp::cq_poller::cq_poller | ( | std::shared_ptr< cq > | cq, |
size_t | batch_size = 16 |
||
) |
Construct a new cq poller object. A new executor will be created.
cq | The completion queue to poll. |
batch_size | The number of completion entries to poll at a time. |
rdmapp::cq_poller::cq_poller | ( | std::shared_ptr< cq > | cq, |
std::shared_ptr< executor > | executor, | ||
size_t | batch_size = 16 |
||
) |
Construct a new cq poller object.
cq | The completion queue to poll. |
executor | The executor to use to process the completion entries. |
batch_size | The number of completion entries to poll at a time. |