|
|
@ -871,7 +871,7 @@ static grpc_error *pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, |
|
|
|
grpc_pollset_worker **worker_hdl, |
|
|
|
grpc_pollset_worker **worker_hdl, |
|
|
|
gpr_timespec now, gpr_timespec deadline) { |
|
|
|
gpr_timespec now, gpr_timespec deadline) { |
|
|
|
grpc_pollset_worker worker; |
|
|
|
grpc_pollset_worker worker; |
|
|
|
*worker_hdl = &worker; |
|
|
|
if (worker_hdl) *worker_hdl = &worker; |
|
|
|
grpc_error *error = GRPC_ERROR_NONE; |
|
|
|
grpc_error *error = GRPC_ERROR_NONE; |
|
|
|
|
|
|
|
|
|
|
|
/* Avoid malloc for small number of elements. */ |
|
|
|
/* Avoid malloc for small number of elements. */ |
|
|
@ -1092,7 +1092,7 @@ static grpc_error *pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, |
|
|
|
gpr_mu_lock(&pollset->mu); |
|
|
|
gpr_mu_lock(&pollset->mu); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
*worker_hdl = NULL; |
|
|
|
if (worker_hdl) *worker_hdl = NULL; |
|
|
|
GPR_TIMER_END("pollset_work", 0); |
|
|
|
GPR_TIMER_END("pollset_work", 0); |
|
|
|
GRPC_LOG_IF_ERROR("pollset_work", GRPC_ERROR_REF(error)); |
|
|
|
GRPC_LOG_IF_ERROR("pollset_work", GRPC_ERROR_REF(error)); |
|
|
|
return error; |
|
|
|
return error; |
|
|
|