From e41df03b4d21a2cae4da493d852d10936f4b7077 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Sat, 31 Jan 2015 20:38:13 -0800 Subject: Expanded comment --- src/core/iomgr/pollset_posix.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/iomgr/pollset_posix.h b/src/core/iomgr/pollset_posix.h index 3da025151d..cdcb995167 100644 --- a/src/core/iomgr/pollset_posix.h +++ b/src/core/iomgr/pollset_posix.h @@ -79,7 +79,9 @@ void grpc_pollset_add_fd(grpc_pollset *pollset, struct grpc_fd *fd); void grpc_pollset_del_fd(grpc_pollset *pollset, struct grpc_fd *fd); /* Force any current pollers to break polling: it's the callers responsibility - to ensure that the pollset indeed needs to be kicked. + to ensure that the pollset indeed needs to be kicked - no verification that + the pollset is actually performing polling work is done. At worst this will + result in spurious wakeups if performed at the wrong moment. Does not touch pollset->mu. */ void grpc_pollset_force_kick(grpc_pollset *pollset); /* Returns the fd to listen on for kicks */ -- cgit v1.2.3