Antoine Pitrou created ARROW-12938:
--------------------------------------

             Summary: [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


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.3.4#803005)

Reply via email to