I'm also not sure that we would be happy if GVL free threads are available.
我也不确定我们是否会对GVL释放线程可用而感到高兴。
On my parallel VM, a non-thread safe method (written in c) is invoked, at first, VM acquires GVL, and process such a method, and releases GVL.
在我的并行vm上,会调用一个线程不安全的方法(使用c编写)。首先,VM请求GVL,然后处理这个方法,接着释放GVL。
The reason is the Global Interpreter Lock (GIL), sometimes referred to as Global VM Lock (GVL).
这就是全局解释锁(GIL),有时候也叫做全局VM锁(GVL)。
应用推荐