def startrecvloop(self):
        if self.recvthread is not None:
            if self.recvthread.isAlive():
                return
            else:
                self.recvthread.join()
        # start reading data from connected sockets
        self.dorecvloop = True
        self.recvthread = threading.Thread(target = self.recvloop)
        self.recvthread.daemon = True
        self.recvthread.start()
Spawn the recvloop() thread if it hasn't been already started.
dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.startrecvloop