in fbtftp/base_server.py [0:0]
def increment_counter(self, name, increment=1):
"""
Increment a counter value by name, atomically. The increment can be
negative.
Args:
name (str): the counter's name
increment (int): the increment step, defaults to 1.
"""
with self._counters_lock:
self._counters[name] += increment