mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 05:12:26 +08:00
removed exception specifications. thread exceptions weren't
being listed and they'd have to be added to every one. just doesn't seem worth the trouble.
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
// CLock
|
||||
//
|
||||
|
||||
CLock::CLock(const CMutex* mutex) throw() : m_mutex(mutex)
|
||||
CLock::CLock(const CMutex* mutex) : m_mutex(mutex)
|
||||
{
|
||||
m_mutex->lock();
|
||||
}
|
||||
|
||||
CLock::CLock(const CCondVarBase* cv) throw() : m_mutex(cv->getMutex())
|
||||
CLock::CLock(const CCondVarBase* cv) : m_mutex(cv->getMutex())
|
||||
{
|
||||
m_mutex->lock();
|
||||
}
|
||||
|
||||
CLock::~CLock() throw()
|
||||
CLock::~CLock()
|
||||
{
|
||||
m_mutex->unlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user