summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/atomics.h
diff options
context:
space:
mode:
authorSergey Matov <sergey.matov@travelping.com>2020-09-15 13:40:55 +0400
committerDave Barach <openvpp@barachs.net>2020-09-18 15:23:01 +0000
commit34262d4d56295b0872ad4e9a4a4791953f3fa444 (patch)
tree7b100a5367cc1896b308cee0a28574b4aff1c75e /src/vppinfra/atomics.h
parent84f3d9fba4e1715237a41f0978430193363187c7 (diff)
vlib: add decrement counter method
Currently there is no way to decrease simple counter. To extend counters API new method allows to decrement counter by given value. This might be useful in implementation of statistics stored in stats segment. Type: improvement Change-Id: I7c08c62bffa6a2d50e9e2cf884f7b2d48538f34b Signed-off-by: Sergey Matov <sergey.matov@travelping.com> Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vppinfra/atomics.h')
0 files changed, 0 insertions, 0 deletions