pull/21490/head
Vijay Pai 5 years ago
parent bffc5701e6
commit c758bf9571
  1. 3
      include/grpcpp/impl/codegen/server_callback_impl.h

@ -118,7 +118,8 @@ class ServerCallbackCall {
// should be called, false otherwise.
bool UnblockCancellation() {
return on_cancel_conditions_remaining_.fetch_sub(
1, std::memory_order_acq_rel) == 1; }
1, std::memory_order_acq_rel) == 1;
}
std::atomic_int on_cancel_conditions_remaining_{2};
std::atomic_int callbacks_outstanding_{

Loading…
Cancel
Save