diff options
author | Mark D. Roth <roth@google.com> | 2017-03-21 13:40:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 13:40:20 -0700 |
commit | 62d1dd920e15798a8a338aa5553cc592d91631c0 (patch) | |
tree | 95baeb01306fa8d2aeb9514181215b56b72cf3a0 /include | |
parent | c9ff208cc9a1179861157de90bef891050b7f756 (diff) | |
parent | 693d2b48abd180c871aaf7ef0cf9b521d17196f8 (diff) |
Merge pull request #9850 from markdroth/retry_throttle
Retry throttling implementation.
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/impl/codegen/atm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/grpc/impl/codegen/atm.h b/include/grpc/impl/codegen/atm.h index ae00fb0f16..4bd572d6d1 100644 --- a/include/grpc/impl/codegen/atm.h +++ b/include/grpc/impl/codegen/atm.h @@ -92,4 +92,9 @@ #error could not determine platform for atm #endif +/** Adds \a delta to \a *value, clamping the result to the range specified + by \a min and \a max. Returns the new value. */ +gpr_atm gpr_atm_no_barrier_clamped_add(gpr_atm *value, gpr_atm delta, + gpr_atm min, gpr_atm max); + #endif /* GRPC_IMPL_CODEGEN_ATM_H */ |