diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-12 10:56:03 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-12 10:56:03 -0700 |
commit | ee4b14521380f8c387c27f4cd351565d0afa3d61 (patch) | |
tree | fb3c9263bc12f0c52e52775162de1e6b0887c998 /test/core/util/trickle_endpoint.c | |
parent | bc6a9cb24aa3c1fcc1817962169773a44a1d50ee (diff) |
Remove workqueue, covered_by_poller as concepts, get Mac build up
Diffstat (limited to 'test/core/util/trickle_endpoint.c')
-rw-r--r-- | test/core/util/trickle_endpoint.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/test/core/util/trickle_endpoint.c b/test/core/util/trickle_endpoint.c index 69386a0718..a3f3a2a7af 100644 --- a/test/core/util/trickle_endpoint.c +++ b/test/core/util/trickle_endpoint.c @@ -92,11 +92,6 @@ static void te_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep, gpr_mu_unlock(&te->mu); } -static grpc_workqueue *te_get_workqueue(grpc_endpoint *ep) { - trickle_endpoint *te = (trickle_endpoint *)ep; - return grpc_endpoint_get_workqueue(te->wrapped); -} - static void te_add_to_pollset(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep, grpc_pollset *pollset) { trickle_endpoint *te = (trickle_endpoint *)ep; @@ -155,16 +150,10 @@ static void te_finish_write(grpc_exec_ctx *exec_ctx, void *arg, gpr_mu_unlock(&te->mu); } -static const grpc_endpoint_vtable vtable = {te_read, - te_write, - te_get_workqueue, - te_add_to_pollset, - te_add_to_pollset_set, - te_shutdown, - te_destroy, - te_get_resource_user, - te_get_peer, - te_get_fd}; +static const grpc_endpoint_vtable vtable = { + te_read, te_write, te_add_to_pollset, te_add_to_pollset_set, + te_shutdown, te_destroy, te_get_resource_user, te_get_peer, + te_get_fd}; grpc_endpoint *grpc_trickle_endpoint_create(grpc_endpoint *wrap, double bytes_per_second) { |