def __init__(self, initial=0):
        """Initialize a new atomic counter to given initial value (default 0)."""
        self.value = initial
        self._lock = threading.Lock()
Initialize a new atomic counter to given initial value (default 0).
corag/src/utils.py