aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/lockfree_event.cc
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2017-11-20 13:49:54 -0800
committerGravatar yang-g <yangg@google.com>2017-11-20 13:49:54 -0800
commited49fe5510780a96bf128bc6397f0d7d5394f669 (patch)
tree37c289b4220a819cce6b85fd4b3146bba5cd1664 /src/core/lib/iomgr/lockfree_event.cc
parent26521b38d235c9587ed391e285a3f5d34979df75 (diff)
Resolve comments
Diffstat (limited to 'src/core/lib/iomgr/lockfree_event.cc')
-rw-r--r--src/core/lib/iomgr/lockfree_event.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/lockfree_event.cc b/src/core/lib/iomgr/lockfree_event.cc
index 57a81fb5b2..edd997ff30 100644
--- a/src/core/lib/iomgr/lockfree_event.cc
+++ b/src/core/lib/iomgr/lockfree_event.cc
@@ -57,9 +57,9 @@ extern grpc_tracer_flag grpc_polling_trace;
namespace grpc_core {
-LockfreeEvent::LockfreeEvent() { Init(); }
+LockfreeEvent::LockfreeEvent() { InitEvent(); }
-void LockfreeEvent::Init() {
+void LockfreeEvent::InitEvent() {
/* Perform an atomic store to start the state machine.
Note carefully that LockfreeEvent *MAY* be used whilst in a destroyed
@@ -69,7 +69,7 @@ void LockfreeEvent::Init() {
gpr_atm_no_barrier_store(&state_, kClosureNotReady);
}
-void LockfreeEvent::Destroy() {
+void LockfreeEvent::DestroyEvent() {
gpr_atm curr;
do {
curr = gpr_atm_no_barrier_load(&state_);