Add a full barrier after subchannel construction

pull/4909/head
Craig Tiller 9 years ago
parent d9d474a670
commit 9ebc87a899
  1. 1
      src/core/client_config/subchannel.c

@ -519,6 +519,7 @@ static void publish_transport(grpc_exec_ctx *exec_ctx, grpc_subchannel *c) {
}
/* publish */
gpr_atm_full_barrier();
GPR_ASSERT(gpr_atm_rel_cas(&c->connected_subchannel, 0, (gpr_atm)con));
c->connecting = 0;

Loading…
Cancel
Save