summaryrefslogtreecommitdiffstats
path: root/lib/Utils/DebugDump.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-12 17:58:20 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-12 17:58:20 +0100
commita7d954d98109ecb09c7440f5bba7deca3e4c538b (patch)
tree39bea2139ddaad26dc72dfd88f38e16bd9657925 /lib/Utils/DebugDump.h
parentad3b6d23b32a1008c02bcc08609966d54e6224e4 (diff)
downloadabrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.tar.gz
abrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.tar.xz
abrt-a7d954d98109ecb09c7440f5bba7deca3e4c538b.zip
fixed lock functionality
Diffstat (limited to 'lib/Utils/DebugDump.h')
-rw-r--r--lib/Utils/DebugDump.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h
index 1217136e..a6bb0511 100644
--- a/lib/Utils/DebugDump.h
+++ b/lib/Utils/DebugDump.h
@@ -43,8 +43,9 @@ class CDebugDump
{
private:
std::string m_sDebugDumpDir;
-
int m_nFD;
+ bool m_bLockCreated;
+
void SaveEnvironment();
void SaveTime();
@@ -55,6 +56,9 @@ class CDebugDump
void SaveBinaryFile(const std::string& pName, const char* pData, const unsigned int pSize);
bool ExistFileDir(const std::string& pPath);
+ void Lock();
+ void UnLock();
+
public:
CDebugDump();