1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

atomic stop flag

This commit is contained in:
Leonid Fedorov
2023-07-10 16:44:35 +00:00
parent aead012f9f
commit 8d06822be5

View File

@ -350,7 +350,7 @@ class ThreadPool
boost::condition_variable fNeedThread; // triggered when a thread is needed
ThreadPoolGroup fThreads;
bool fStop;
std::atomic<bool> fStop = false;
long fGeneralErrors;
long fFunctorErrors;
uint32_t waitingFunctorsSize;