diff options
author | Ken Payson <kpayson@google.com> | 2017-08-09 23:00:47 -0700 |
---|---|---|
committer | Ken Payson <kpayson@google.com> | 2017-08-09 23:00:47 -0700 |
commit | bd34477e6ea1ca1d320c1921d3d90f220c89e2b4 (patch) | |
tree | 5390721bac95530095a3f7506bbb36b2508f507c /src/core/lib/iomgr | |
parent | 2240a13d761a5713cfbe2ee350b326cbb861ea4d (diff) |
Address PR feedback
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r-- | src/core/lib/iomgr/ev_poll_posix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/ev_poll_posix.c b/src/core/lib/iomgr/ev_poll_posix.c index 73e9c5203d..9472a8e520 100644 --- a/src/core/lib/iomgr/ev_poll_posix.c +++ b/src/core/lib/iomgr/ev_poll_posix.c @@ -265,9 +265,9 @@ typedef struct poll_args { struct poll_args *prev; } poll_args; -// This is a 2-tiered cash, we mantain a hash table +// This is a 2-tiered cache, we mantain a hash table // of active poll calls, so we can wait on the result -// of that call. We also maintain a freelist of innactive +// of that call. We also maintain a freelist of inactive // poll threads. typedef struct poll_hash_table { poll_args *free_pollers; @@ -1315,7 +1315,7 @@ static void cache_insert_locked(poll_args *args) { poll_cache.count++; } -void init_result(poll_args *pargs) { +static void init_result(poll_args *pargs) { pargs->result = gpr_malloc(sizeof(poll_result)); gpr_ref_init(&pargs->result->refcount, 1); pargs->result->watchers = NULL; |