[
https://issues.apache.org/jira/browse/ARROW-12938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542617#comment-17542617
]
David Li commented on ARROW-12938:
----------------------------------
Related ML discussion:
https://lists.apache.org/thread/c79zvztw2rmyt4t8mf7ft760f9wt6wcs
> [C++] Investigate spawning arbitrary callbacks from StopToken
> -------------------------------------------------------------
>
> Key: ARROW-12938
> URL: https://issues.apache.org/jira/browse/ARROW-12938
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
>
> In some situations, we may want to forward stop requests to external
> runtimes, e.g. gRPC (see https://github.com/apache/arrow/pull/10318 ),
> without polling.
> Ideally, one may temporarily add a callback to a StopToken. This bears
> complications, especially in the case where the stop request comes from a
> signal handler.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)