mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Added ThreadsQueue to PipelineExecutor.
This commit is contained in:
parent
73bda85998
commit
72fea5bf97
@ -661,6 +661,8 @@ void PipelineExecutor::executeImpl(size_t num_threads)
|
||||
{
|
||||
Stack stack;
|
||||
|
||||
threads_queue.init(num_threads);
|
||||
|
||||
executor_contexts.reserve(num_threads);
|
||||
for (size_t i = 0; i < num_threads; ++i)
|
||||
executor_contexts.emplace_back(std::make_unique<ExecutorContext>());
|
||||
|
Loading…
Reference in New Issue
Block a user