(self)
Multithreaded version of interact().
Multithreaded version of interact().
Multithreaded version of interact () .
def mt_interact(self):
        """Multithreaded version of interact()."""
        import _thread
        _thread.start_new_thread(self.listener, ())
        while 1:
            line = sys.stdin.readline()
            if not line:
                break
            self.write(line.encode('ascii'))
def mt_interact ( self ) : import _thread _thread . start_new_thread ( self . listener , ( ) ) while 1 : line = sys . stdin . readline ( ) if not line : break self . write ( line . encode ( 'ascii' ) )