goldigd05 commented on issue #48332:
URL: https://github.com/apache/arrow/issues/48332#issuecomment-3708387004

   Hi, I am interested in this enhancement request.
   
   Currently, `arrow::*Reader` classes can block fibers / threads when using
   RandomAccessFile with custom executors, leading to deadlocks in some 
applications.
   
   I propose prototyping a modification of `DoRestartTask` to release the lock
   before spawning the task, and retake it only if the spawn fails. This would
   allow direct executors or fiber-based applications to avoid thread 
starvation.
   
   I am happy to submit a small PR with a prototype implementation and test.


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