code: def _watchdog_queue(self):
          
          while not self.quit:
              k = self.queue.get()
              if k == 'q':  # 退出
                  self.quit = True
                  self.switch_queue.put('main')
docs: 从queue里取出字符执行命令