1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

No boost condition (#2822)

This patch replaces boost primitives with stdlib counterparts.
This commit is contained in:
Leonid Fedorov
2023-04-22 00:42:45 +03:00
committed by GitHub
parent 3ce19abdae
commit f916e64927
245 changed files with 1261 additions and 2007 deletions

View File

@ -26,8 +26,9 @@
#pragma once
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include <map>
#include <mutex>
#include <condition_variable>
#include <list>
#include <vector>
@ -223,17 +224,17 @@ class ColumnBufferManager
/** @brief Condition variable for threads waiting for resize to complete
*/
boost::condition fResizeInProgress;
std::condition_variable fResizeInProgress;
/** @brief Condition variable for threads waiting for all buffer sections
* to be released
*/
boost::condition fBufInUse;
std::condition_variable fBufInUse;
/** @brief Condition variable for threads who have arrived out-of-
* sequence with respect to their row-id
*/
boost::condition fOutOfSequence;
std::condition_variable fOutOfSequence;
/** @brief Width of the column
*/