Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以从 python 代码中获取全局解释器锁?还是纯粹在C端实现的?
如果您的代码执行了,那么您就有了 GIL,无需手动获取它。