Message199389
| Author |
sbt |
| Recipients |
Olivier.Grisel, jnoller, lars, sbt |
| Date |
2013年10月10日.14:35:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1381415726.16.0.542136741912.issue18999@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|