Message199389
Attached is a patch which allows the use of separate contexts. For example
try:
ctx = multiprocessing.get_context('forkserver')
except ValueError:
ctx = multiprocessing.get_context('spawn')
q = ctx.Queue()
p = ctx.Process(target=foo, args=(q,))
p.start()
...
Also, get_start_method(allow_none=True) will return None if the start method has not yet been fixed. |
|
Date |
User |
Action |
Args |
2013-10-10 14:35:27 | sbt | set | recipients:
+ sbt, jnoller, lars, Olivier.Grisel |
2013-10-10 14:35:26 | sbt | set | messageid: <1381415726.16.0.542136741912.issue18999@psf.upfronthosting.co.za> |
2013-10-10 14:35:26 | sbt | link | issue18999 messages |
2013-10-10 14:35:26 | sbt | create | |
|