You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
No boost condition (#2822)
This patch replaces boost primitives with stdlib counterparts.
This commit is contained in:
@ -64,8 +64,8 @@ VSSEntry::VSSEntry()
|
||||
}
|
||||
|
||||
/*static*/
|
||||
boost::mutex VSSImpl::fInstanceMutex;
|
||||
boost::mutex VSS::mutex;
|
||||
std::mutex VSSImpl::fInstanceMutex;
|
||||
std::mutex VSS::mutex;
|
||||
|
||||
/*static*/
|
||||
VSSImpl* VSSImpl::fInstance = 0;
|
||||
@ -73,7 +73,7 @@ VSSImpl* VSSImpl::fInstance = 0;
|
||||
/*static*/
|
||||
VSSImpl* VSSImpl::makeVSSImpl(unsigned key, off_t size, bool readOnly)
|
||||
{
|
||||
boost::mutex::scoped_lock lk(fInstanceMutex);
|
||||
std::unique_lock lk(fInstanceMutex);
|
||||
|
||||
if (fInstance)
|
||||
{
|
||||
|
Reference in New Issue
Block a user