Message169354
| Author |
ncoghlan |
| Recipients |
asvetlov, grahamd, mhammond, ncoghlan, pitrou |
| Date |
2012年08月29日.09:31:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1346232697.62.0.74205268898.issue15751@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yeah, I eventually came around to agreeing that it's better to stick with the Ensure/Release model. SwitchInterpreter gets messy when it comes to managing the lifecycle of temporary thread states.
So an EnsureEx/ReleaseEx pair with a new struct that includes both the GIL state info and either the previous thread state or an interpreter pointer sounds good to me. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月29日 09:31:37 | ncoghlan | set | recipients:
+ ncoghlan, mhammond, pitrou, grahamd, asvetlov |
| 2012年08月29日 09:31:37 | ncoghlan | set | messageid: <1346232697.62.0.74205268898.issue15751@psf.upfronthosting.co.za> |
| 2012年08月29日 09:31:37 | ncoghlan | link | issue15751 messages |
| 2012年08月29日 09:31:35 | ncoghlan | create |
|