摘要:
简单的函数封装 def thread_it(func, *args): t = threading.Thread(target=func, args=args) t.setDaemon(True) try: t.start() except Exception as e: raise e def c 阅读全文
摘要:
区别【apply】【map】【apply_async】【map_async】 【map】各个进程执行顺序确定,当前进程阻塞 【map_async】各个进程执行顺序确定,当前进程不阻塞 【apply】各个进程执行顺序不确定,当前进程阻塞 【apply_async】各个进程执行顺序不确定,当前进程不阻塞 阅读全文