Locking file during hashing
Is it required to lock a file (or a part of a file) during the hashing process1 on Linux?
On Windows we use
UnLockFileEx(..), see source:application/Common/FileLocker.h.
#2 Updated by Greg Burri over 5 years ago
- Status changed from Assigned to New
- Assignee deleted (
- Target version changed from 1.1 to Unplanned
There is no reason to lock under Linux because an event from the 'DirWatcherLinux' will be raised at the end of the write and the file will be re-hashed.