pitrou commented on PR #36517:
URL: https://github.com/apache/arrow/pull/36517#issuecomment-1640308750

   So, we _can_ expose a `Listener*` as a short-term solution (and it will work 
fine in unit tests where we do the equivalent of a sync call using the async 
API with a stack-allocated `Listener`), but at some point we may want to expose 
something more convenient. Also, a `Future`-returning version would need the 
tackle the issue anyway.
   
   One possibility is to transfer destruction to a dedicated worker thread. Not 
pretty, but would probably work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to