[英]Acquiring the global interpreter lock from python
Is it possible to acquire the global interpreter lock from python code? 是否可以从python代码获取全局解释器锁? Or is that purely implemented in the C side?
还是纯粹在C端实现?
如果您的代码执行,则您拥有GIL,无需手动获取它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.