Gevent task with endless loop seems to block every other task aswell
问题 I'm quite new to Gevent/Greenlet and have gone through the tutorials. I would like to run a bot for each registered team. for bot in self.bots: events.append(gevent.spawn(bot.start)) gevent.joinall(events) The interesting part is that if I don't use a while true loop, I get the bot_id of both bots shown in the console. def start(self): while True: for reply in self.slack_client.rtm_read(): self.input(reply) time.sleep(0.1) logger.info("Log:{0}".format(self.bot_id)) But as soon as I use a