rkimball commented on pull request #6953:
URL: https://github.com/apache/tvm/pull/6953#issuecomment-747661773


   The problem with python is that it handles signals internally. With 
PackedFunc we can't properly wrap the tvm socket calls with signal handlers to 
make them operate the way that native python sockets operate.
   
   Another alternative is to wrap the c++ rpc server in python, not using FFI. 
Within the wrapper we could handle signals and make the python wrapped RPC 
server operate just like other python network functions.
   
   What do other languages like Rust do with signals? Is there an issue with 
Rust?


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