diff options
author | Craig Tiller <ctiller@google.com> | 2016-05-06 17:12:37 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-05-06 17:12:37 -0700 |
commit | 4f1d0f337b15748d171ec21dddba1f6d80e94778 (patch) | |
tree | 255d62f007305913e744efc72ac429583dc166f1 /src/core/lib/iomgr/pollset.h | |
parent | 80384bd2e389b38f594f74055051e46d62509bf3 (diff) |
Error reporting progress
Diffstat (limited to 'src/core/lib/iomgr/pollset.h')
-rw-r--r-- | src/core/lib/iomgr/pollset.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/lib/iomgr/pollset.h b/src/core/lib/iomgr/pollset.h index c40a474877..8d9edc8406 100644 --- a/src/core/lib/iomgr/pollset.h +++ b/src/core/lib/iomgr/pollset.h @@ -81,14 +81,15 @@ void grpc_pollset_destroy(grpc_pollset *pollset); May call grpc_closure_list_run on grpc_closure_list, without holding the pollset lock */ -void grpc_pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, - grpc_pollset_worker **worker, gpr_timespec now, - gpr_timespec deadline); +grpc_error *grpc_pollset_work(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, + grpc_pollset_worker **worker, gpr_timespec now, + gpr_timespec deadline) GRPC_MUST_USE_RESULT; /* Break one polling thread out of polling work for this pollset. If specific_worker is GRPC_POLLSET_KICK_BROADCAST, kick ALL the workers. Otherwise, if specific_worker is non-NULL, then kick that worker. */ -void grpc_pollset_kick(grpc_pollset *pollset, - grpc_pollset_worker *specific_worker); +grpc_error *grpc_pollset_kick(grpc_pollset *pollset, + grpc_pollset_worker *specific_worker) + GRPC_MUST_USE_RESULT; #endif /* GRPC_CORE_LIB_IOMGR_POLLSET_H */ |