Non-blocking multiprocessing.connection.Listener?
问题 I use multiprocessing.connection.Listener for communication between processes, and it works as a charm for me. Now i would really love my mainloop to do something else between commands from client. Unfortunately listener.accept() blocks execution until connection from client process is established. Is there a simple way of managing non blocking check for multiprocessing.connection? Timeout? Or shall i use a dedicated thread? # Simplified code: from multiprocessing.connection import Listener