|
|
@ -862,9 +862,10 @@ static void cq_end_op_for_callback( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
auto* functor = static_cast<grpc_experimental_completion_queue_functor*>(tag); |
|
|
|
auto* functor = static_cast<grpc_experimental_completion_queue_functor*>(tag); |
|
|
|
GRPC_CLOSURE_SCHED(GRPC_CLOSURE_CREATE(functor_callback, functor, |
|
|
|
GRPC_CLOSURE_SCHED( |
|
|
|
grpc_core::Executor::Scheduler( |
|
|
|
GRPC_CLOSURE_CREATE( |
|
|
|
grpc_core::ExecutorJobType::SHORT)), |
|
|
|
functor_callback, functor, |
|
|
|
|
|
|
|
grpc_core::Executor::Scheduler(grpc_core::ExecutorJobType::SHORT)), |
|
|
|
GRPC_ERROR_REF(error)); |
|
|
|
GRPC_ERROR_REF(error)); |
|
|
|
|
|
|
|
|
|
|
|
GRPC_ERROR_UNREF(error); |
|
|
|
GRPC_ERROR_UNREF(error); |
|
|
@ -1351,9 +1352,10 @@ static void cq_finish_shutdown_callback(grpc_completion_queue* cq) { |
|
|
|
GPR_ASSERT(cqd->shutdown_called); |
|
|
|
GPR_ASSERT(cqd->shutdown_called); |
|
|
|
|
|
|
|
|
|
|
|
cq->poller_vtable->shutdown(POLLSET_FROM_CQ(cq), &cq->pollset_shutdown_done); |
|
|
|
cq->poller_vtable->shutdown(POLLSET_FROM_CQ(cq), &cq->pollset_shutdown_done); |
|
|
|
GRPC_CLOSURE_SCHED(GRPC_CLOSURE_CREATE(functor_callback, callback, |
|
|
|
GRPC_CLOSURE_SCHED( |
|
|
|
grpc_core::Executor::Scheduler( |
|
|
|
GRPC_CLOSURE_CREATE( |
|
|
|
grpc_core::ExecutorJobType::SHORT)), |
|
|
|
functor_callback, callback, |
|
|
|
|
|
|
|
grpc_core::Executor::Scheduler(grpc_core::ExecutorJobType::SHORT)), |
|
|
|
GRPC_ERROR_NONE); |
|
|
|
GRPC_ERROR_NONE); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|