摘要:
python自2.6开始提供了多进程模块multiprocessing,这里主要是介绍multiprocessing下的Pool的几个函数一 apply(func[, args[, kwds]]) apply用于传递不定参数,同python中的apply函数一致(不过内置的apply函数从2.3以后就不建议使用了),主进程会阻塞于函数。 for x in gen_list(l): result =... 阅读全文
posted @ 2010-09-19 23:44
lexus
阅读(264)
评论(0)
推荐(0)
浙公网安备 33010602011771号