GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/surface/completion_queue.h"
#include "src/core/lib/surface/completion_queue_factory.h"
#include <grpc/support/log.h>
Functions | |
const grpc_completion_queue_factory * | grpc_completion_queue_factory_lookup (const grpc_completion_queue_attributes *attributes) |
Returns the completion queue factory based on the attributes. More... | |
grpc_completion_queue * | grpc_completion_queue_create_for_next (void *reserved) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More... | |
grpc_completion_queue * | grpc_completion_queue_create_for_pluck (void *reserved) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More... | |
grpc_completion_queue * | grpc_completion_queue_create_for_callback (grpc_completion_queue_functor *shutdown_callback, void *reserved) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING. More... | |
grpc_completion_queue * | grpc_completion_queue_create (const grpc_completion_queue_factory *factory, const grpc_completion_queue_attributes *attr, void *reserved) |
Create a completion queue. More... | |
grpc_completion_queue* grpc_completion_queue_create | ( | const grpc_completion_queue_factory * | factory, |
const grpc_completion_queue_attributes * | attr, | ||
void * | reserved | ||
) |
Create a completion queue.
grpc_completion_queue* grpc_completion_queue_create_for_callback | ( | grpc_completion_queue_functor * | shutdown_callback, |
void * | reserved | ||
) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_CALLBACK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING.
This function is experimental.
grpc_completion_queue* grpc_completion_queue_create_for_next | ( | void * | reserved | ) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_NEXT and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING.
grpc_completion_queue* grpc_completion_queue_create_for_pluck | ( | void * | reserved | ) |
Helper function to create a completion queue with grpc_cq_completion_type of GRPC_CQ_PLUCK and grpc_cq_polling_type of GRPC_CQ_DEFAULT_POLLING.
const grpc_completion_queue_factory* grpc_completion_queue_factory_lookup | ( | const grpc_completion_queue_attributes * | attributes | ) |
Returns the completion queue factory based on the attributes.
MAY return a NULL if no factory can be found