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

   > If the `initial_task` passed to `AsyncTaskScheduler::Make` throws a C++ 
exception
   
   Why would it throw at all? Arrow uses Status-based error reporting. If we 
were catching exceptions from any user-provided callable, this would litter the 
Arrow C++ code with ad hoc `catch` statements. We would also certainly forget 
to catch exceptions in some place, and users would regularly have to report 
issues about that.
   
   For reference, our `ThreadPool` doesn't catch exceptions from user tasks 
either. They are not supposed to throw exceptions.
   


-- 
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