Home
last modified time | relevance | path

Searched refs:CInterProcessLock (Results 1 – 9 of 9) sorted by relevance

/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/include/corelib/
H A Dinterprocess_lock.hpp77 class NCBI_XNCBI_EXPORT CInterProcessLock class
99 CInterProcessLock(const string& name);
102 ~CInterProcessLock(void);
209 typedef CInterProcessLock resource_type;
231 typedef CGuard<CInterProcessLock, PInterProcessLock> CInterProcessLock_Guard;
H A Dncbi_process.hpp895 unique_ptr<CInterProcessLock> m_MTGuard; //< MT-Safe protection guard.
896 unique_ptr<CInterProcessLock> m_PIDGuard; //< Guard to help with "PID reuse" problem.
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/include/corelib/
H A Dinterprocess_lock.hpp77 class NCBI_XNCBI_EXPORT CInterProcessLock class
99 CInterProcessLock(const string& name);
102 ~CInterProcessLock(void);
209 typedef CInterProcessLock resource_type;
231 typedef CGuard<CInterProcessLock, PInterProcessLock> CInterProcessLock_Guard;
H A Dncbi_process.hpp895 unique_ptr<CInterProcessLock> m_MTGuard; //< MT-Safe protection guard.
896 unique_ptr<CInterProcessLock> m_PIDGuard; //< Guard to help with "PID reuse" problem.
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/corelib/test/
H A Dtest_interprocess_lock.cpp63 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()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/corelib/
H A Dinterprocess_lock.cpp72 CInterProcessLock::CInterProcessLock(const string& name) in CInterProcessLock() function in CInterProcessLock
99 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()
H A Dncbi_process.cpp1709 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()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/corelib/
H A Dinterprocess_lock.cpp72 CInterProcessLock::CInterProcessLock(const string& name) in CInterProcessLock() function in CInterProcessLock
99 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()
H A Dncbi_process.cpp1709 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()