38 #include <QSharedMemory>
39 #include <QSystemSemaphore>
51 static RunGuard &instance(
const QString &key);
62 quint64 secondaryAttempts();
66 const QString memLockKey;
67 const QString sharedmemKey;
69 QSharedMemory sharedMem;
70 QSystemSemaphore memLock;
72 RunGuard(
const QString &key = QString());
75 bool isAnotherRunning();