summaryrefslogtreecommitdiff
path: root/include/mts
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-10 08:14:07 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-10 08:14:07 -0500
commit4b0d95808e5681c47a7dcbbff8109856e40bad60 (patch)
treeefcc9e45711e2a31c3d033a8f5bff84827273660 /include/mts
parentfb68f1c49e903bda36b290223940f388c4709fd2 (diff)
parenteb58146a8e5387968a2b45367ad7fd29f6db2fbe (diff)
downloadlibmts-io-4b0d95808e5681c47a7dcbbff8109856e40bad60.tar.gz
libmts-io-4b0d95808e5681c47a7dcbbff8109856e40bad60.tar.bz2
libmts-io-4b0d95808e5681c47a7dcbbff8109856e40bad60.zip
Merge branch 'restore-MTX-3262-single-instance-guard' into 'master'
Restore mtx 3262 single instance guard See merge request !21
Diffstat (limited to 'include/mts')
-rw-r--r--include/mts/MTS_IO_LockFile.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/mts/MTS_IO_LockFile.h b/include/mts/MTS_IO_LockFile.h
index 730cf3c..22e641b 100644
--- a/include/mts/MTS_IO_LockFile.h
+++ b/include/mts/MTS_IO_LockFile.h
@@ -34,11 +34,8 @@
namespace MTS {
namespace IO {
-
class LockFile : MTS::NonCopyable {
-
public:
-
LockFile(const std::string& sFilePath);
virtual ~LockFile();
@@ -46,11 +43,10 @@ namespace MTS {
void unlock();
bool isLocked();
- protected:
-
private:
std::string m_sFile;
int m_iLockFd;
+ int m_iLockErr;
};
}