lidavidm opened a new pull request #9633:
URL: https://github.com/apache/arrow/pull/9633


   Recently, interrupting a Python Flight server started aborting the process 
instead, because gRPC on Linux started using some code which is not 
signal-safe. This PR fixes that by spawning a separate thread that waits on a 
semaphore, then shuts down the server; the semaphore is notified by the signal 
handler (which is a signal-safe operation).
   
   This is a little janky, but fixes the issue. This still builds on Windows in 
my tests, but I couldn't actually import the resulting PyArrow to test it. 
However, PyArrow 3.0 via Conda still works on Windows. I'm not able to test on 
MacOS myself.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to