homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rosslagerwall
Recipients pitrou, rosslagerwall
Date 2011年07月01日.05:49:08
SpamBayes Score 0.028011294
Marked as misclassified No
Message-id <1309499349.27.0.725815068111.issue12456@psf.upfronthosting.co.za>
In-reply-to
Content
Further analysis seems to indicate that it is a race between the shutdown code and the processes finishing.
This code hangs:
"""
executor = concurrent.futures.ProcessPoolExecutor(2)
executor.map(is_prime, [1, 2])
executor.shutdown()
"""
while this doesn't:
"""
executor = concurrent.futures.ProcessPoolExecutor(2)
executor.map(is_prime, [1, 2])
time.sleep(1)
executor.shutdown()
"""
History
Date User Action Args
2011年07月01日 05:49:09rosslagerwallsetrecipients: + rosslagerwall, pitrou
2011年07月01日 05:49:09rosslagerwallsetmessageid: <1309499349.27.0.725815068111.issue12456@psf.upfronthosting.co.za>
2011年07月01日 05:49:08rosslagerwalllinkissue12456 messages
2011年07月01日 05:49:08rosslagerwallcreate

AltStyle によって変換されたページ (->オリジナル) /