aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/ev_epollsig_linux_test.cc
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-11-29 19:07:44 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-11-29 19:07:44 -0800
commitc354269ba7bd1f6dfe9c86ba18f38fc8e346dcfc (patch)
treebcc5b75945a13ad9c2e805b66989206ebfd02d6f /test/core/iomgr/ev_epollsig_linux_test.cc
parent26e934245d2af33f613f932f290315c5c9feca27 (diff)
Remove _ prefixed variable names
Diffstat (limited to 'test/core/iomgr/ev_epollsig_linux_test.cc')
-rw-r--r--test/core/iomgr/ev_epollsig_linux_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/core/iomgr/ev_epollsig_linux_test.cc b/test/core/iomgr/ev_epollsig_linux_test.cc
index 45c96ce12d..750bbf89d4 100644
--- a/test/core/iomgr/ev_epollsig_linux_test.cc
+++ b/test/core/iomgr/ev_epollsig_linux_test.cc
@@ -130,7 +130,7 @@ static void test_pollset_cleanup(test_pollset* pollsets, int num_pollsets) {
#define NUM_POLLSETS 4
static void test_add_fd_to_pollset() {
- grpc_core::ExecCtx _local_exec_ctx;
+ grpc_core::ExecCtx exec_ctx;
test_fd tfds[NUM_FDS];
int fds[NUM_FDS];
test_pollset pollsets[NUM_POLLSETS];
@@ -231,7 +231,7 @@ static __thread int thread_wakeups = 0;
static void test_threading_loop(void* arg) {
threading_shared* shared = static_cast<threading_shared*>(arg);
while (thread_wakeups < 1000000) {
- grpc_core::ExecCtx _local_exec_ctx;
+ grpc_core::ExecCtx exec_ctx;
grpc_pollset_worker* worker;
gpr_mu_lock(shared->mu);
GPR_ASSERT(GRPC_LOG_IF_ERROR(
@@ -271,7 +271,7 @@ static void test_threading(void) {
shared.wakeup_desc = grpc_fd_create(fd.read_fd, "wakeup");
shared.wakeups = 0;
{
- grpc_core::ExecCtx _local_exec_ctx;
+ grpc_core::ExecCtx exec_ctx;
grpc_pollset_add_fd(shared.pollset, shared.wakeup_desc);
grpc_fd_notify_on_read(
shared.wakeup_desc,
@@ -286,7 +286,7 @@ static void test_threading(void) {
fd.read_fd = 0;
grpc_wakeup_fd_destroy(&fd);
{
- grpc_core::ExecCtx _local_exec_ctx;
+ grpc_core::ExecCtx exec_ctx;
grpc_fd_shutdown(shared.wakeup_desc, GRPC_ERROR_CANCELLED);
grpc_fd_orphan(shared.wakeup_desc, nullptr, nullptr,
false /* already_closed */, "done");
@@ -302,7 +302,7 @@ int main(int argc, char** argv) {
grpc_test_init(argc, argv);
grpc_init();
{
- grpc_core::ExecCtx _local_exec_ctx;
+ grpc_core::ExecCtx exec_ctx;
poll_strategy = grpc_get_poll_strategy_name();
if (poll_strategy != nullptr && strcmp(poll_strategy, "epollsig") == 0) {