diff --git a/scripts/access_to_resources.py b/scripts/access_to_resources.py index 8665036..635e6e4 100644 --- a/scripts/access_to_resources.py +++ b/scripts/access_to_resources.py @@ -10,6 +10,7 @@ class Counter(object): def __init__(self, start=0): self.lock = threading.Lock() + fp = open("def.txt") self.value = start def increment(self): logging.debug('Waiting for lock')