Searched refs:CInterProcessLock (Results 1 – 9 of 9) sorted by relevance
77 class NCBI_XNCBI_EXPORT CInterProcessLock class99 CInterProcessLock(const string& name);102 ~CInterProcessLock(void);209 typedef CInterProcessLock resource_type;231 typedef CGuard<CInterProcessLock, PInterProcessLock> CInterProcessLock_Guard;
895 unique_ptr<CInterProcessLock> m_MTGuard; //< MT-Safe protection guard.896 unique_ptr<CInterProcessLock> m_PIDGuard; //< Guard to help with "PID reuse" problem.
63 CInterProcessLock lock(""); in Test_SingleProcess()66 CInterProcessLock lock("relative/path"); in Test_SingleProcess()69 CInterProcessLock lock("name"); in Test_SingleProcess()83 CInterProcessLock lock1(lockname); in Test_SingleProcess()84 CInterProcessLock lock2(lockname); in Test_SingleProcess()85 CInterProcessLock lock3(lockname); in Test_SingleProcess()114 CGuard<CInterProcessLock> GUARD(lock1); in Test_SingleProcess()157 CInterProcessLock lock(lockname); in Test_MultiProcess()267 CInterProcessLock lock(lockname); in Test_MultiProcess_Child()
72 CInterProcessLock::CInterProcessLock(const string& name) in CInterProcessLock() function in CInterProcessLock99 CInterProcessLock::~CInterProcessLock() in ~CInterProcessLock()142 void CInterProcessLock::Lock(const CTimeout& timeout, in Lock()320 void CInterProcessLock::Unlock() in Unlock()373 void CInterProcessLock::Remove() in Remove()382 bool CInterProcessLock::TryLock() in TryLock()
1709 m_MTGuard.reset(new CInterProcessLock(m_Path + ".guard")); in CPIDGuard()1732 m_MTGuard.reset(new CInterProcessLock(m_Path + ".guard")); in CPIDGuard()1752 CGuard<CInterProcessLock> LOCK(*m_MTGuard); in Release()1805 CGuard<CInterProcessLock> LOCK(*m_MTGuard); in Remove()1826 CGuard<CInterProcessLock> LOCK(*m_MTGuard); in UpdatePID()1838 m_PIDGuard.reset(new CInterProcessLock(m_Path + ".start.guard")); in UpdatePID()