Message355943
What's the value of PyGILState_Check() before the call to PyGILState_Ensure()?
PyGILState_Ensure() and PyGILState_Release() should bracket code where you're not sure about the current GIL state, but need the GIL. The Release function only undoes the action of the Ensure function, and won't release the GIL if the GIL was held before the call to the Ensure function. |
|
Date |
User |
Action |
Args |
2019-11-04 14:25:11 | ronaldoussoren | set | recipients:
+ ronaldoussoren, 123 wlpha |
2019-11-04 14:25:10 | ronaldoussoren | set | messageid: <1572877510.95.0.938618011217.issue38680@roundup.psfhosted.org> |
2019-11-04 14:25:10 | ronaldoussoren | link | issue38680 messages |
2019-11-04 14:25:10 | ronaldoussoren | create | |
|