diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-30 14:20:46 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-30 14:20:46 -0700 |
commit | 70bd4839bc93feab530494d7a75c821b540be906 (patch) | |
tree | 373cfc29ad2e71e8852f5a8bc9d3fb2410a4ce89 /src/core/lib/iomgr/endpoint.c | |
parent | a5596db1a53723789d7c90c23d9cbfbb8207f949 (diff) |
Allow returning a workqueue somehow associated with an endpoint
Diffstat (limited to 'src/core/lib/iomgr/endpoint.c')
-rw-r--r-- | src/core/lib/iomgr/endpoint.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/lib/iomgr/endpoint.c b/src/core/lib/iomgr/endpoint.c index 1ab3733d38..f901fcf962 100644 --- a/src/core/lib/iomgr/endpoint.c +++ b/src/core/lib/iomgr/endpoint.c @@ -65,3 +65,7 @@ void grpc_endpoint_destroy(grpc_exec_ctx* exec_ctx, grpc_endpoint* ep) { char* grpc_endpoint_get_peer(grpc_endpoint* ep) { return ep->vtable->get_peer(ep); } + +grpc_workqueue* grpc_endpoint_get_workqueue(grpc_endpoint* ep) { + return ep->vtable->get_workqueue(ep); +} |