You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/05/25 23:02:00 UTC
[jira] [Created] (ARROW-12878) [C++] Generalize thread pool to
allow for different queuing strategies / worker loops
Weston Pace created ARROW-12878:
-----------------------------------
Summary: [C++] Generalize thread pool to allow for different queuing strategies / worker loops
Key: ARROW-12878
URL: https://issues.apache.org/jira/browse/ARROW-12878
Project: Apache Arrow
Issue Type: Sub-task
Components: C++
Reporter: Weston Pace
Rather than duplicate everything in arrow::internal::ThreadPool when creating a work stealing thread pool we should make arrow::internal::ThreadPool a base class that can be extended by specific strategies.
This PR is simply to split the thread pool into a base class and a "SimpleThreadPool" implementation which uses a single queue of tasks and locks (i.e. what we have today).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)