You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/05/11 15:52:00 UTC
[jira] [Commented] (ARROW-8767) [C++] Make ThreadPool task ordering
configurable
[ 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)