Ejemplo n.º 1
0
 def test2():
     with local_base_config(conf2):
         pool2 = ThreadPool(5)
         list(pool2.imap(check2, list(range(200))))
Ejemplo n.º 2
0
 def test2():
     with local_base_config(conf2):
         pool2 = ThreadPool(5)
         list(pool2.imap(check2, range(200)))
Ejemplo n.º 3
0
 def test1():
     with local_base_config(conf1):
         pool1 = ThreadPool(5)
         list(pool1.imap(check1, list(range(200))))
Ejemplo n.º 4
0
 def test1():
     with local_base_config(conf1):
         pool1 = ThreadPool(5)
         list(pool1.imap(check1, range(200)))