diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-17 14:36:30 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-17 14:36:30 -0700 |
commit | 232e04b6199090b5805b3e7148fcfce3b8ef9956 (patch) | |
tree | 4cedbef2a5c7e6aad7386e45f362d038d1d1f631 /src/core | |
parent | abfaf2a5363aefdda8f5b311d1e46833aca06e53 (diff) |
Spelling correction
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/iomgr/pollset_posix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/iomgr/pollset_posix.c b/src/core/iomgr/pollset_posix.c index 9b4a2006a1..f55f8d7d09 100644 --- a/src/core/iomgr/pollset_posix.c +++ b/src/core/iomgr/pollset_posix.c @@ -106,7 +106,7 @@ void grpc_pollset_init(grpc_pollset *pollset) { void grpc_pollset_add_fd(grpc_pollset *pollset, grpc_fd *fd) { gpr_mu_lock(&pollset->mu); pollset->vtable->add_fd(pollset, fd, 1); - /* the following (enabled only in debug) will reacquire and then releast + /* the following (enabled only in debug) will reacquire and then release our lock - meaning that if the unlocking flag passed to del_fd above is not respected, the code will deadlock (in a way that we have a chance of debugging) */ @@ -119,7 +119,7 @@ void grpc_pollset_add_fd(grpc_pollset *pollset, grpc_fd *fd) { void grpc_pollset_del_fd(grpc_pollset *pollset, grpc_fd *fd) { gpr_mu_lock(&pollset->mu); pollset->vtable->del_fd(pollset, fd, 1); - /* the following (enabled only in debug) will reacquire and then releast + /* the following (enabled only in debug) will reacquire and then release our lock - meaning that if the unlocking flag passed to del_fd above is not respected, the code will deadlock (in a way that we have a chance of debugging) */ |