diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-22 10:53:14 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-22 10:53:14 -0700 |
commit | 098047b53abfb3142b0dc9eca83564cd565902b7 (patch) | |
tree | 463bb5d60f365f4c7a5e3a6e77ff77bc09ae80c2 /test/core/util/port_posix.c | |
parent | 9fa914e554826f3d11663263498df829e0b1b94e (diff) |
Rename run
Diffstat (limited to 'test/core/util/port_posix.c')
-rw-r--r-- | test/core/util/port_posix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/util/port_posix.c b/test/core/util/port_posix.c index a1893375ec..8403d4a131 100644 --- a/test/core/util/port_posix.c +++ b/test/core/util/port_posix.c @@ -126,9 +126,9 @@ free_port_using_server (char *server, int port) gpr_mu_unlock (GRPC_POLLSET_MU (&pr.pollset)); grpc_httpcli_context_destroy (&context); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); grpc_pollset_shutdown (&pr.pollset, &shutdown_closure, &closure_list); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); gpr_free (path); } @@ -288,7 +288,7 @@ pick_port_using_server (char *server) grpc_httpcli_context_init (&context); grpc_httpcli_get (&context, &pr.pollset, &req, GRPC_TIMEOUT_SECONDS_TO_DEADLINE (10), got_port_from_server, &pr, &closure_list); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); gpr_mu_lock (GRPC_POLLSET_MU (&pr.pollset)); while (pr.port == -1) { @@ -299,7 +299,7 @@ pick_port_using_server (char *server) grpc_httpcli_context_destroy (&context); grpc_pollset_shutdown (&pr.pollset, &shutdown_closure, &closure_list); - grpc_closure_list_run (&closure_list); + grpc_exec_ctx_finish (&exec_ctx); return pr.port; } |