From 000cd8f9f7346defc79fe6aa877af11b42ab5f1e Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 18 Sep 2015 07:20:29 -0700 Subject: Introduce call lists for moving work outside locks --- src/core/client_config/subchannel.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/core/client_config/subchannel.h') diff --git a/src/core/client_config/subchannel.h b/src/core/client_config/subchannel.h index 391df36bfd..7c00ff172d 100644 --- a/src/core/client_config/subchannel.h +++ b/src/core/client_config/subchannel.h @@ -76,7 +76,8 @@ void grpc_subchannel_call_unref( void grpc_subchannel_create_call(grpc_subchannel *subchannel, grpc_pollset *pollset, grpc_subchannel_call **target, - grpc_iomgr_closure *notify); + grpc_iomgr_closure *notify, + grpc_iomgr_call_list *call_list); /** process a transport level op */ void grpc_subchannel_process_transport_op(grpc_subchannel *subchannel, @@ -88,10 +89,10 @@ grpc_connectivity_state grpc_subchannel_check_connectivity( /** call notify when the connectivity state of a channel changes from *state. Updates *state with the new state of the channel */ -grpc_connectivity_state_notify_on_state_change_result -grpc_subchannel_notify_on_state_change( - grpc_subchannel *channel, grpc_connectivity_state *state, - grpc_iomgr_closure *notify) GRPC_MUST_USE_RESULT; +void grpc_subchannel_notify_on_state_change(grpc_subchannel *channel, + grpc_connectivity_state *state, + grpc_iomgr_closure *notify, + grpc_iomgr_call_list *call_list); /** express interest in \a channel's activities through \a pollset. */ void grpc_subchannel_add_interested_party(grpc_subchannel *channel, -- cgit v1.2.3