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)

Reply via email to