[
https://issues.apache.org/jira/browse/ARROW-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104610#comment-17104610
]
Antoine Pitrou commented on ARROW-8767:
---------------------------------------
cc [~fsaintjacques]
Possible API:
{code:cpp}
struct TaskSpec {
int64_t priority;
};
class ThreadPool {
public:
Status Spawn(TaskSpec, ...);
};
{code}
> [C++] Make ThreadPool task ordering configurable
> ------------------------------------------------
>
> Key: ARROW-8767
> URL: https://issues.apache.org/jira/browse/ARROW-8767
> Project: Apache Arrow
> Issue Type: Wish
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Major
>
> We may want to choose a task ordering strategy when constructing a ThreadPool.
> To make the ordering strategy configurable, we may want to externalize it in
> a separate JobQueue class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)