获得一个全局锁:lock1。
获得一个全局锁:lock1。
获得一个全局锁:lock2。
释放全局锁:lock1。
释放全局锁:lock2。
Obtain another global lock: lock2.
获得另一个全局锁:lock2。
The global lock cache feeds the per-thread lock caches.
全局锁缓存将其内容提供给单线程锁缓存。
First, memcached's stat collection relied on a global lock.
首先,memcached的stat工具集依赖于一个全局锁。
Percolator has no central location for transaction management and lacks a global lock detector.
Percolator没有提供用于事务管理的中心服务器,也没有全局锁侦测器。
The JVM itself has internal locks used to serialize access to critical JVM resources such as the thread list and the global lock cache.
JVM自身拥有内部锁,用于序列化对关键JVM资源(如线程列表和全局锁缓存)的访问。
By not synchronizing on a global lock, it becomes much more difficult to perform operations that act on the map as a whole, such as the size method.
由于没有在全局锁上同步,使得将map作为一个整体进行操作,例如size方法,变得更加困难。
To help minimize mutex allocation and locking time, the JVM manages a global lock cache and a per-thread lock cache where each cache contains unallocated pthread_mutexes.
为了帮助实现互斥锁分配和锁定时间的最小化,JVM管理一个全局锁缓存和一个单线程锁缓存,其中每个缓存包含了未分配的 pthread_mutex。
Object data locking is generally per-object. Well, unless you don't have huge scalability issues, in which case you may have some external bigger lock (extreme case: one single global lock).
对象数据保护一般是一个对象拥有一个锁,假设你没有海量扩展性问题,不然你需要一些外部大一点的锁(极端的例子,一个对象一个全局锁)。
The reason is the Global Interpreter Lock (GIL), sometimes referred to as Global VM Lock (GVL).
这就是全局解释锁(GIL),有时候也叫做全局VM锁(GVL)。
The global I/O request lock in 2.4 has been removed.
中的全局I/O请求锁不再使用。
It is not safe to call this function when it is unknown which thread (if any) currently has the global interpreter lock.
当前拥有全局解释器锁的线程(或其它什么)未知时,调用这个函数不安全。
Release the global interpreter lock. The lock must have been created earlier. This function is not available when thread support is disabled at compile time.
释放全局解释器锁。锁必须提前创建。这个函数在编译时禁用线程支持的情况下不可用。
The global interpreter lock is used to protect the pointer to the current thread state.
全局解释器锁用于保护当前线程状态的指针。
A non locker code got a request to reserve the lock for making global updates.
非锁定程序代码收到一个为全局更新保留锁定的请求。
The global interpreter lock" is per-interpreter as its name implies, not per process;"
全球口译锁“是每口译,顾名思义,不是每个进程;
The global interpreter lock" is per-interpreter as its name implies, not per process;"
全球口译锁“是每口译,顾名思义,不是每个进程;
应用推荐