1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Revert "No boost condition (#2822)" (#2828)

This reverts commit f916e64927.
This commit is contained in:
Roman Nozdrin
2023-04-22 13:49:50 +01:00
committed by GitHub
parent f916e64927
commit 4fe9cd64a3
245 changed files with 2007 additions and 1261 deletions

View File

@ -35,7 +35,7 @@
using namespace std;
namespace
{
std::mutex fac_guard;
boost::mutex fac_guard;
}
namespace idbdatafile
@ -45,7 +45,7 @@ IDBFactory::FactoryMap IDBFactory::s_plugins;
bool IDBFactory::installDefaultPlugins()
{
// protect these methods since we are changing our static data structure
std::unique_lock lock(fac_guard);
boost::mutex::scoped_lock lock(fac_guard);
s_plugins.emplace(IDBDataFile::BUFFERED, FileFactoryEnt(IDBDataFile::BUFFERED, "buffered", new BufferedFileFactory(),
new PosixFileSystem()));
@ -58,7 +58,7 @@ bool IDBFactory::installDefaultPlugins()
bool IDBFactory::installPlugin(const std::string& plugin)
{
// protect these methods since we are changing our static data structure
std::unique_lock lock(fac_guard);
boost::mutex::scoped_lock lock(fac_guard);
void* handle = dlopen(plugin.c_str(), RTLD_LAZY);