Message142294
| Author |
chris- |
| Recipients |
Michael.Olson, asksol, chris-, jnoller |
| Date |
2011年08月17日.22:42:09 |
| SpamBayes Score |
0.08232997 |
| Marked as misclassified |
No |
| Message-id |
<1313620930.61.0.210565534351.issue10015@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
A workaround would be to call the following in the thread you want to use ThreadPool:
if not hasattr(threading.current_process(), "_children"):
threading.current_process()._children = weakref.WeakKeyDictionary()
(putting this in Process could be a very simple patch) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年08月17日 22:42:10 | chris- | set | recipients:
+ chris-, jnoller, asksol, Michael.Olson |
| 2011年08月17日 22:42:10 | chris- | set | messageid: <1313620930.61.0.210565534351.issue10015@psf.upfronthosting.co.za> |
| 2011年08月17日 22:42:10 | chris- | link | issue10015 messages |
| 2011年08月17日 22:42:09 | chris- | create |
|