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