aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/pollset.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-06-23 07:55:47 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-06-23 07:55:47 -0700
commit60401f13b7113f11b456d8d0c01fa13c3d7a4632 (patch)
tree7f160370a05ec0e16e7912877c58f6e082e3e081 /src/core/iomgr/pollset.h
parentaa555df7eea2529c9501a95578d6f0bb849d7044 (diff)
parenta14ebbbe401c7ba9992816d454d711b1591704ee (diff)
Merge pull request #2165 from nicolasnoble/backup-poller-broke-me
Fixing Windows port after the removal of the backup poller.
Diffstat (limited to 'src/core/iomgr/pollset.h')
-rw-r--r--src/core/iomgr/pollset.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/iomgr/pollset.h b/src/core/iomgr/pollset.h
index 7472b6144f..c40188b3c9 100644
--- a/src/core/iomgr/pollset.h
+++ b/src/core/iomgr/pollset.h
@@ -62,7 +62,10 @@ void grpc_pollset_destroy(grpc_pollset *pollset);
May involve invoking asynchronous callbacks, or actually polling file
descriptors.
Requires GRPC_POLLSET_MU(pollset) locked.
- May unlock GRPC_POLLSET_MU(pollset) during its execution. */
+ May unlock GRPC_POLLSET_MU(pollset) during its execution.
+
+ Returns true if some work has been done, and false if the deadline
+ got attained. */
int grpc_pollset_work(grpc_pollset *pollset, gpr_timespec deadline);
/* Break one polling thread out of polling work for this pollset.