使用多线程,调用同一个程序
打开了多个浏览器,但只有第一个浏览器在运行,其他浏览器都在闲置。
哪里出问题了???
使用多线程,调用同一个程序
打开了多个浏览器,但只有第一个浏览器在运行,其他浏览器都在闲置。
哪里出问题了???
The pool method takes two arguments, first is a fuction, secnod is a list. As in the following
p.map(f, [1, 2, 3]))
The fix would be
pool.map(main, [url1,url2,... etc]