Message93977
This difference between Unix and Windows is documented there:
http://docs.python.org/library/multiprocessing.html#windows
Please carefully read the paragraph named "Safe importing of main module".
You will certainly need to add a condition like
if __name__ == '__main__':
so that subprocesses (which start a new Python interpreter from the
start) don't start another Pool themselves. |
|
Date |
User |
Action |
Args |
2009-10-14 12:04:12 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, SirLalala |
2009-10-14 12:04:12 | amaury.forgeotdarc | set | messageid: <1255521852.81.0.039768829696.issue7122@psf.upfronthosting.co.za> |
2009-10-14 12:04:11 | amaury.forgeotdarc | link | issue7122 messages |
2009-10-14 12:04:10 | amaury.forgeotdarc | create | |
|