摘要:
进程池import multiprocessingimport timedef do_calculation(data): print(multiprocessing.current_process().name + " " + str(data)) time.sleep(3) return data * 2def start_process(): print ('Starting', multiprocessing.current_process().name)if __name__ == '__main__': inputs = list 阅读全文
posted @ 2013-06-26 15:47
ciaos
阅读(878)
评论(0)
推荐(0)

浙公网安备 33010602011771号