Skip to content
Snippets Groups Projects
Commit 9ebc87a8 authored by Craig Tiller's avatar Craig Tiller
Browse files

Add a full barrier after subchannel construction

parent d9d474a6
No related branches found
No related tags found
No related merge requests found
...@@ -519,6 +519,7 @@ static void publish_transport(grpc_exec_ctx *exec_ctx, grpc_subchannel *c) { ...@@ -519,6 +519,7 @@ static void publish_transport(grpc_exec_ctx *exec_ctx, grpc_subchannel *c) {
} }
/* publish */ /* publish */
gpr_atm_full_barrier();
GPR_ASSERT(gpr_atm_rel_cas(&c->connected_subchannel, 0, (gpr_atm)con)); GPR_ASSERT(gpr_atm_rel_cas(&c->connected_subchannel, 0, (gpr_atm)con));
c->connecting = 0; c->connecting = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment