Actions
Task #201
openLocking file during hashing
Start date:
05/07/2012
Due date:
% Done:
0%
Estimated time:
keywords:
Platform:
Linux
Description
Is it required to lock a file (or a part of a file) during the hashing process1 on Linux?
On Windows we use LockFileEx(..)
and UnLockFileEx(..)
, see source:application/Common/FileLocker.h.
1 source:application/Core/FileManager/priv/Cache/FileHasher.h
Updated by Greg Burri over 12 years ago
- Assignee changed from Hervé Martinet to Greg Burri
Updated by Greg Burri over 12 years ago
- Status changed from Assigned to New
- Assignee deleted (
Greg Burri) - 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.
Actions