You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some situations, we may want to forward stop requests to external runtimes, e.g. gRPC (see #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.
Todd Farmer / @toddfarmer:
This issue was last updated over 90 days ago, which may be an indication it is no longer being actively worked. To better reflect the current state, the issue is being unassigned per project policy. Please feel free to re-take assignment of the issue if it is being actively worked, or if you plan to start that work soon.
David Li / @lidavidm:
It looks like this should be possible now, using a self-pipe and a thread? There'll also be a little fiddliness to register and unregister callbacks (assuming a StopToken is meant to be sharable among multiple actions).
In some situations, we may want to forward stop requests to external runtimes, e.g. gRPC (see #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.
Reporter: Antoine Pitrou / @pitrou
Related issues:
Note: This issue was originally created as ARROW-12938. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: