У меня есть этот кодовый код
def Checks(self):
_thread.start_new_thread(self.update_config, ())
_thread.start_new_thread(self.load_updates, ('Scan-thread', ))
_thread.start_new_thread(self.check_exit, ('exit-thread', ))
while True:
schedule.run_pending()
time.sleep(1)
, поэтому мой вопрос: возможно ли запустить все потоки в одном пуле?и вместо того, чтобы иметь 3 строки кода, есть только одна нить, любая идея?