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
MCOL-4841 Fix for MCOL-5009
respondWait could be set to false while other threads were waiting. With respondWait false, okToRrespond wouldn't ever get notify_one(). Get rid of respondWait and use fProcessorPool->blockedThreadCount to determine if any threads may be waiting.
This commit is contained in:
@ -112,7 +112,11 @@ class PriorityThreadPool
|
||||
{
|
||||
blockedThreads--;
|
||||
}
|
||||
|
||||
uint32_t blockedThreadCount()
|
||||
{
|
||||
return blockedThreads;
|
||||
}
|
||||
|
||||
protected:
|
||||
private:
|
||||
struct ThreadHelper
|
||||
|
Reference in New Issue
Block a user