threading

from concurrent.futures import ThreadPoolExecutor
with ThreadPoolExecutor(max_workers=processes_num) as thread:
thread.submit(func, x,y,z)


threading.Thread(target=action,args=(xxx,)).start()
posted @ 2022-04-12 17:19  xiondun  阅读(48)  评论(0编辑  收藏  举报