Use a lockfile to restrict concurrent access to the CPU JIT config file
Compare changes
+ 20
− 13
@@ -57,6 +57,7 @@ import tempfile
@@ -57,6 +57,7 @@ import tempfile
@@ -122,15 +123,15 @@ def get_configuration_file_path():
@@ -122,15 +123,15 @@ def get_configuration_file_path():
@@ -190,16 +191,22 @@ def read_config():
@@ -190,16 +191,22 @@ def read_config():
config['cache']['object_cache'] = os.path.expanduser(config['cache']['object_cache']).format(pid=os.getpid())