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
compilation failure
error: reference to 'mutex' is ambiguous note: candidates are: 'class boost::mutex' note: 'class std::mutex'
This commit is contained in:
@ -215,7 +215,7 @@ void WESplClient::send()
|
||||
cout << "DataRqstCnt [" << getPmId() << "] = "
|
||||
<< getDataRqstCount() << endl;
|
||||
|
||||
mutex::scoped_lock aLock(fSentQMutex);
|
||||
boost::mutex::scoped_lock aLock(fSentQMutex);
|
||||
messageqcpp::SBS aSbs = fSendQueue.front();
|
||||
fSendQueue.pop();
|
||||
aLock.unlock();
|
||||
@ -223,7 +223,7 @@ void WESplClient::send()
|
||||
|
||||
if (aLen > 0)
|
||||
{
|
||||
mutex::scoped_lock aLock(fWriteMutex);
|
||||
boost::mutex::scoped_lock aLock(fWriteMutex);
|
||||
setBytesTx(getBytesTx() + aLen);
|
||||
|
||||
try
|
||||
@ -323,7 +323,7 @@ void WESplClient::add2SendQueue(const messageqcpp::SBS& Sbs)
|
||||
|
||||
void WESplClient::clearSendQueue()
|
||||
{
|
||||
mutex::scoped_lock aLock(fSentQMutex);
|
||||
boost::mutex::scoped_lock aLock(fSentQMutex);
|
||||
|
||||
while (!fSendQueue.empty())
|
||||
fSendQueue.pop();
|
||||
@ -334,7 +334,7 @@ void WESplClient::clearSendQueue()
|
||||
int WESplClient::getSendQSize()
|
||||
{
|
||||
int aQSize = 0;
|
||||
mutex::scoped_lock aLock(fSentQMutex);
|
||||
boost::mutex::scoped_lock aLock(fSentQMutex);
|
||||
aQSize = fSendQueue.size();
|
||||
aLock.unlock();
|
||||
return aQSize;
|
||||
|
Reference in New Issue
Block a user