From 5fe652bb3422cab731deddae4c25c2f0d6fee885 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 9 Sep 2009 17:13:47 +0200 Subject: eliminate CDebugDump::m_bUnlock, m_nLockfileFD can be used instead Signed-off-by: Denys Vlasenko --- lib/Utils/DebugDump.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/Utils/DebugDump.h') diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h index 703e0a12..473f8d45 100644 --- a/lib/Utils/DebugDump.h +++ b/lib/Utils/DebugDump.h @@ -44,15 +44,13 @@ class CDebugDump private: std::string m_sDebugDumpDir; bool m_bOpened; - bool m_bUnlock; DIR* m_pGetNextFileDir; - int m_nFD; + int m_nLockfileFD; void SaveKernelArchitectureRelease(); void SaveTime(); void Lock(); - bool GetAndSetLock(const char* pLockFile, const std::string& pPID); void UnLock(); public: -- cgit