You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/26 01:09:00 UTC
[jira] [Updated] (ARROW-12878) [C++] Generalize thread pool to
allow for different queuing strategies / worker loops
[ https://issues.apache.org/jira/browse/ARROW-12878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-12878:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)