From 98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:11:56 +0200 Subject: 3.17 --- library/dir_lock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'library/dir_lock.h') diff --git a/library/dir_lock.h b/library/dir_lock.h index 9ae4da08..91b61990 100644 --- a/library/dir_lock.h +++ b/library/dir_lock.h @@ -19,12 +19,13 @@ RAII structure to place a directory lock against other FFS processes: - ownership shared between all object instances refering to a specific lock location(= UUID) - can be copied safely and efficiently! (ref-counting) - detects and resolves abandoned locks (instantly if lock is associated with local pc, else after 30 seconds) + - temporary locks created during abandoned lock resolution keep "lockfilename"'s extension - race-free (Windows, almost on Linux(NFS)) */ class DirLock { public: - DirLock(const Zstring& lockfilename, DirLockCallback* callback = NULL); //throw (FileError) + DirLock(const Zstring& lockfilename, DirLockCallback* callback = NULL); //throw (FileError), callback only used during construction private: class LockAdmin; -- cgit