GRPC Core  3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
atm.h File Reference
#include <grpc/impl/codegen/port_platform.h>

Go to the source code of this file.

Functions

gpr_atm gpr_atm_no_barrier_clamped_add (gpr_atm *value, gpr_atm delta, gpr_atm min, gpr_atm max)
 Adds delta to *value, clamping the result to the range specified by min and max. More...
 

Function Documentation

gpr_atm gpr_atm_no_barrier_clamped_add ( gpr_atm value,
gpr_atm  delta,
gpr_atm  min,
gpr_atm  max 
)

Adds delta to *value, clamping the result to the range specified by min and max.

Returns the new value.