示例#1
0
def thread_pool(item):
    pool = thpool(20)
    pool.map(get_detail, item)
    pool.close()
    pool.join()
示例#2
0
def thread_pool(item):
    pool = thpool(6)
    pool.map(parse_html, item)
    pool.close()
    pool.join()
示例#3
0
def thread_pool(item):
    pool = thpool(3)
    pool.map(get_txt, item)
    pool.close()
    pool.join()
示例#4
0
def thread_pool(item):
    pool = thpool(8)
    pool.map(get_mp3, item)
    pool.close()
    pool.join()