User Tools

Site Tools


python_multiprocessing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
python_multiprocessing [2021/07/21 01:48] – created rajupython_multiprocessing [2021/07/21 19:44] (current) raju
Line 1: Line 1:
 ==== using pool ==== ==== using pool ====
 +Goal: Run two functions in parallel. The second function should start irrespective of whether the first one finished or not.
 +
 <code> <code>
 $ cat use_pool.py $ cat use_pool.py
Line 39: Line 41:
 Python 3.9.4 Python 3.9.4
 </code> </code>
 +
 +tags | run processes in parallel
 +
 +==== links I came across ====
 +  * https://docs.python.org/3/library/multiprocessing.html
 +
python_multiprocessing.1626832132.txt.gz · Last modified: 2021/07/21 01:48 by raju