diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2018-12-01 22:17:48 -0500 |
---|---|---|
committer | Soheil Hassas Yeganeh <soheil@google.com> | 2018-12-05 12:31:12 -0500 |
commit | be8ef52ea8a0bb91a83c41a8028bab69f42daac7 (patch) | |
tree | e07df5bfca5d224fde803117b44339080fc7ba82 /src/objective-c/GRPCClient/GRPCCall.h | |
parent | 2f55f4f85af9afe9d3f2e55b51ec949c87ed9b4d (diff) |
Add TSAN anntations for grpc_call_combiner.
Since GRPC_CLOSUSE_SCHEDULE can schedule callback asynchronously we have
to schedule our own wrapper instead. Also, we cannot use ACQUIRE and
RELEASE directly on the call_combiner, because callbacks are free to even
destroy the call_combiner. Thus, we use a ref-counted structure that
acts as a fake lock for Tsan annotations.
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.h')
0 files changed, 0 insertions, 0 deletions