def process_url(url_list): g = pool.Pool(5) #print 'fuck!!!' #for url in url_list: # g.spawn(procFunc, url) g.map(procFunc, url_list) g.join()