Message168768
| Author |
ncoghlan |
| Recipients |
grahamd, ncoghlan, pitrou |
| Date |
2012年08月21日.13:25:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345555551.61.0.96917429017.issue15751@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Graham, even better would be if you could try the following combination:
_PyGILState_Fini();
_PyGILState_Init(si, st);
(where si and st are the interpreter state and thread state for the target subinterpreter)
If a new PyGILState_SwitchInterpreter API is going to be able to solve this in 3.4, then I believe those private APIs should be enough to make it possible in *current* versions.
If those private APIs *aren't* enough, then I'm missing something and this isn't going to be as easy as I thought. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月21日 13:25:51 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, grahamd |
| 2012年08月21日 13:25:51 | ncoghlan | set | messageid: <1345555551.61.0.96917429017.issue15751@psf.upfronthosting.co.za> |
| 2012年08月21日 13:25:51 | ncoghlan | link | issue15751 messages |
| 2012年08月21日 13:25:50 | ncoghlan | create |
|