lidavidm commented on issue #11932:
URL: https://github.com/apache/arrow/issues/11932#issuecomment-993514502


   @liuyu81 I think the Python documentation on 
[signal](https://docs.python.org/3/library/signal.html) also applies to you. If 
you run the server on the main thread, and Flight does not register a signal 
handler, then it is impossible for your application to handle signals in Python.
   
   The reason why `enable_signal_handlers` does not do anything is simply 
because it isn't accounted for. Would it be useful? I am arguing it is not 
useful for you. You must run the server on a different thread than the main 
thread. We could respect it regardless for consistency, but it will not achieve 
the behavior you want because you will simply be unable to handle signals at 
all.


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