diff options
-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; |