summaryrefslogtreecommitdiff
path: root/library/dir_lock.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
commitc32707148292d104c66276b43796d6057c8c7a5d (patch)
treebb83513f4aff24153e21a4ec92e34e4c27651b1f /library/dir_lock.h
parent3.9 (diff)
downloadFreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.gz
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.bz2
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.zip
3.10
Diffstat (limited to 'library/dir_lock.h')
-rw-r--r--library/dir_lock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dir_lock.h b/library/dir_lock.h
index e3b6597c..fba65d2b 100644
--- a/library/dir_lock.h
+++ b/library/dir_lock.h
@@ -10,7 +10,7 @@ struct DirLockCallback //while waiting for the lock
{
virtual ~DirLockCallback() {}
virtual void requestUiRefresh() = 0; //allowed to throw exceptions
- virtual void updateStatusText(const Zstring& text) = 0;
+ virtual void reportInfo(const Zstring& text) = 0;
};
/*
@@ -18,7 +18,7 @@ RAII structure to place a directory lock against other FFS processes:
- recursive locking supported, even with alternate lockfile names, e.g. via symlinks, network mounts etc.
- 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
+ - detects and resolves abandoned locks (instantly if lock is associated with local pc, else after 30 seconds)
- race-free (Windows, almost on Linux)
*/
class DirLock
bgstack15