1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-15 12:09:09 +03:00

Add logic for graceful shutdown

This commit is contained in:
Ben Thompson
2019-07-01 11:39:24 -05:00
parent bf18233ce7
commit dedffcd01e
10 changed files with 108 additions and 25 deletions

View File

@@ -72,7 +72,7 @@ class Synchronizer : public boost::noncopyable
};
uint maxUploads;
ThreadPool threadPool;
boost::scoped_ptr<ThreadPool> threadPool;
std::map<std::string, boost::shared_ptr<PendingOps> > pendingOps;
std::map<std::string, boost::shared_ptr<PendingOps> > opsInProgress;