Commits

mopemope  committed 52a0528

Add test

  • Participants
  • Parent commits 079b6c2

Comments (0)

Files changed (1)

File test/test_pool.py

     for i in range(15):
         pool.spawn(f, i)
     pool.join()
+
+def test_spawn2():
+    print_name()
+    pool = Pool(5)
+    for i in range(15):
+        pool.spawn(f, i)
+    pool.join()
+    for i in range(15):
+        pool.spawn(f, i)
+    pool.join()