Push the tiny lever on the lock and let the door lock itself.
推锁上的小控制杆,让门自动锁上。
Lock them every time you go out, lock them at night.
每次出门都要锁好,晚上也要锁好。
I can't lock them out because it's not my room to lock.
我不能要她们吃闭门羹,因为这不只是我的房间,我不能把它紧锁。
Otherwise, you can use the "recursive" mutex type, which allows the holder of the lock to lock the same mutex multiple times.
另外,您还可以使用“递归”类型的互斥量,这种互斥量允许对同一个互斥量锁定多次。
The lock escalations, lock timeouts and deadlocks will indicate some potential problems in your system or application.
锁升级、锁超时和死锁将表明系统或应用程序中存在某些潜在问题。
Another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.
另一个例子是优先级继承,它是一种锁定策略,定义了锁竞争时如何管理锁同步。
The readers are protected by a lock, but the lock is a standard one, and keys can be bought on the Internet: besides, the keys circulate among election officials.
识读卡由一个锁保护,但问题是这个锁是一把标准锁,钥匙能在网上得到;除此以外,这些钥匙还在这些选举官员间串换。
In those cases only one of the lock owners is shown in the lock timeout report.
在这些情形下,锁定超时报告中只会显示一个锁持有者。
When the number of locks held by any one application reaches this percentage of the total lock list size, lock escalation occurs for the locks held by that application.
当任何一个应用程序所持有的锁数量达到整个锁列表大小的这个百分比时,对该应用程序所持有的锁进行锁升级。
Lock escalation also occurs if the lock list runs out of space.
如果锁列表用完了空间,那么也会发生锁升级。
When a table holds an IX lock, the lock owner and concurrent applications can read and update data in that table.
当表持有IX锁时,锁拥有者和并发应用程序可以读和更新该表中的数据。
Priority-based FIFO behavior — as in the earlier synchronization example where the highest-priority thread is chosen to execute next — also applies to the queues of lock contenders and lock waiters.
基于优先级的FIFO行为——在前面的同步示例中,将接着执行具有最高优先级的线程——也适用于锁争用者和锁等待者的队列。
The global lock cache feeds the per-thread lock caches.
全局锁缓存将其内容提供给单线程锁缓存。
Lock contention occurs when a lock is currently in use and another thread tries to acquire it.
当一个锁当前正在使用,而另一个线程试图获取它,那么就会出现锁争用。
For example, a lock snapshot captures and returns database lock information.
例如,锁快照捕获并返回数据库锁信息。
An example might be at the customer level in a financial system: one coarse grained lock could be to lock all accounts for the customer, another could be to lock all insurance policies.
例如,在财务系统中的客户级别上:一个粗粒度锁会锁定该客户的所有帐户,另一个锁则可锁定全部保险策略。
This is because the new X row lock and the is table lock are not compatible.
这是因为新的x行锁定和is表锁定是不兼容的。
Lock contention occurs when a lock is currently in use and another thread attempts to acquire it by another thread.
如果一个锁正在使用中,而另一个线程尝试获取它,这时会发生锁争用。
When two threads contend for a lock, one of them will get the lock and the other will have to block until the lock is available.
当两个线程竞争同一个锁时,其中一个会得到锁,另一个不得不阻塞,直到锁可用。
That lock is the row lock that is associated with the row being exported.
该锁是与正在被导出的行相关联的行锁。
When a thread a tries to acquire a JUC lock, while this lock has been acquired by another thread, then thread a has to "stop" its execution and wait until this lock is released or times out.
当线程a试图去获得一个JUC锁,但这个锁却已经被另外一个线程获得,那么线程A不得不“停止”,直到这个锁被释放或者超时。
The idea behind priority inheritance is that at the point of lock contention, the lock holder's priority is boosted to that of the thread wishing to acquire the lock.
优先级继承背后的思想是锁争用,锁持有者的优先级被提高到希望获取锁的线程的优先级。
After some small number of row locks are obtained, a lock escalation to a table lock will occur automatically.
当获得少量的行锁时,行锁就会自动地逐渐升级为表锁。
Application 2 can establish an IX lock on the table and an X row lock, because the table lock IX is compatible to the IN table lock from A1.
应用程序2可以在表上建立一个IX锁定和一个x行锁定,因为表锁定ix兼容a1的in表锁定。
Lock - Number of locks held, deadlocks and lock waits escalations.
LOCK——保存的锁、死锁和锁等待升级的数目。
The ReentrantLock class, which implements Lock, has the same concurrency and memory semantics as synchronized, but also adds features like lock polling, timed lock waits, and interruptible lock waits.
ReentrantLock类实现了Lock ,它拥有与 synchronized相同的并发性和内存语义,但是添加了类似锁投票、定时锁等候和可中断锁等候的一些特性。
Using a separate file to indicate a lock is an example of an advisory lock, not a mandatory lock.
使用单独的文件来表示锁,是“劝告式(advisory)”锁而不是“强制(mandatory)”锁的一个例子。
Dbrun.snap - This script displays the total lock list, average lock list in use and average lock list utilization.
perl locklist . pl dbrun . snap——该脚本显示总的锁列表、使用中的平均锁列表以及平均锁列表利用率。
For each bucket, there's a lock, and that lock is acquired when traversing a bucket either for read or write.
每个bucket都有一个锁,而且该锁在遍历bucket(为了读或写)的时候被获取。
Lock modes and lock object types are defined in the sqlmon.h include file, which will help you to decipher the numerical equivalents that the table function returns.
锁模式和锁对象类型都定义在sqlmon . h包含文件中,该文件将有助于破解表函数返回的数值当量(numerical equivalent)。
应用推荐