SIGN IN SIGN UP

Issue #18620: Improve Pool examples in multiprocessing documentation

A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:

    with Pool(processes=4) as pool:
        results = [pool.apply_async(func, ()) for i in range(4)]

Patch by Davin Potts.
B
Berker Peksag committed
7405c16533f30acf6c0b1f2035898666871449c3
Parent: 1538b3d