aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/client_config/lb_policy.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-24 09:17:19 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-24 09:17:19 -0800
commitc46beaaa29af84f676bde9d013a85dffed1d58c9 (patch)
tree2a88094782ad6454d998ea852a10e3c6814d7c7f /src/core/client_config/lb_policy.h
parentee1f1f347de8c9a74d8b2cf01840a44fbed83996 (diff)
Add an implementation firewall against pollset_set
So multiple implementations can exist in one binary
Diffstat (limited to 'src/core/client_config/lb_policy.h')
-rw-r--r--src/core/client_config/lb_policy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/client_config/lb_policy.h b/src/core/client_config/lb_policy.h
index db5238c8ca..4fbb12da39 100644
--- a/src/core/client_config/lb_policy.h
+++ b/src/core/client_config/lb_policy.h
@@ -48,7 +48,8 @@ typedef void (*grpc_lb_completion)(void *cb_arg, grpc_subchannel *subchannel,
struct grpc_lb_policy {
const grpc_lb_policy_vtable *vtable;
gpr_atm ref_pair;
- grpc_pollset_set interested_parties;
+ /* owned pointer to interested parties in load balancing decisions */
+ grpc_pollset_set *interested_parties;
};
struct grpc_lb_policy_vtable {