mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanups.
This commit is contained in:
@@ -14,11 +14,11 @@ public:
|
|||||||
ScopedLock(boost::recursive_mutex &mutex) :
|
ScopedLock(boost::recursive_mutex &mutex) :
|
||||||
mHolder(new boost::interprocess::scoped_lock<boost::recursive_mutex>(mutex))
|
mHolder(new boost::interprocess::scoped_lock<boost::recursive_mutex>(mutex))
|
||||||
{ ; }
|
{ ; }
|
||||||
void lock(void) const
|
void lock() const
|
||||||
{
|
{
|
||||||
mHolder->lock();
|
mHolder->lock();
|
||||||
}
|
}
|
||||||
void unlock(void) const
|
void unlock() const
|
||||||
{
|
{
|
||||||
mHolder->unlock();
|
mHolder->unlock();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user