summaryrefslogtreecommitdiffstats
path: root/Mac/README
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-01-21 21:59:49 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-01-21 21:59:49 (GMT)
commit7405c16533f30acf6c0b1f2035898666871449c3 (patch)
tree306048441e425d36a95605c77fe8062bb25fbb39 /Mac/README
parent1538b3d3dfff284c8976f19c5e475b99717bacd8 (diff)
downloadcpython-7405c16533f30acf6c0b1f2035898666871449c3.zip
cpython-7405c16533f30acf6c0b1f2035898666871449c3.tar.gz
cpython-7405c16533f30acf6c0b1f2035898666871449c3.tar.bz2
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.
Diffstat (limited to 'Mac/README')
0 files changed, 0 insertions, 0 deletions