Open yunjae2 opened 4 years ago
Since the script can be called in multiple shells concurrently, so locks are required for keeping the correct operations.
fcntl.lockf() can be a good candidate for the implementation.
fcntl.lockf()
Since the script can be called in multiple shells concurrently, so locks are required for keeping the correct operations.