[ 
https://issues.apache.org/jira/browse/ARROW-8732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17226979#comment-17226979
 ] 

Ben Kietzman commented on ARROW-8732:
-------------------------------------

I'm not sure I see how a {{StopToken}} is distinct from a {{Future<void>}} 
which the main thread can optionally MarkFinished and which workers can poll 
for completion (completion of the future indicates workers have been cancelled).

> [C++] Let Futures support cancellation
> --------------------------------------
>
>                 Key: ARROW-8732
>                 URL: https://issues.apache.org/jira/browse/ARROW-8732
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> There should be a way for consumers of Futures to notify that they are not 
> interested in the task at hand anymore. For some kinds of tasks this may 
> allow cancelling the task in-flight (e.g. an IO task, or a task consisting of 
> multiple steps).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to