It's important to put a lock washer on that last nut, or it can work loose.
重要的是要在最后一个螺母上安装一个防松垫圈,否则它会逐渐变松。
Locks may exist across user interactions, which means that they may be abandoned, and therefore a lock timeout strategy is required.
锁可以存在于多次用户交互之间,这意味着它们可能会丢弃,因此需要制定锁的超时策略。
It then holds a lock to protect the interface registry before accessing it.
然后,获得一个锁,以便在访问接口注册表之前保护它。
A lock can be acquired in one of two ways, recursively or non-recursively.
可以通过两种方式(递归地或非递归地)的其中一种来请求锁。
Because each thread is waiting for a lock held by the other, a deadlock occurs.
因为每个线程都在等候对方持有的锁,所以就发生了死锁。
A single arrow indicates a thread contention: One thread is waiting for another thread to release a lock.
一支单独的箭头指出一个线程竞争:一个线程正在等候另一个线程释放一个锁。
Another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.
另一个例子是优先级继承,它是一种锁定策略,定义了锁竞争时如何管理锁同步。
The setup for a lock operation involves allocation of a prelocked mutex.
锁定操作的设置涉及分配一个预先锁定的互斥锁。
The set of all such locking patterns forms a lock hierarchy.
所有此类锁定模式形成了一个锁层次结构。
For example, assume one virtual processor is holding a lock and does not have enough cycles to release that lock.
例如,假定一个虚拟处理器持有一个锁,并且它没有足够的周期来释放这个锁。
The ce server will not prohibit any change due to the mere presence of a lock.
在仅出现该锁的情况下,CE服务器将不阻止任何更改。
Lock contention occurs when a lock is currently in use and another thread tries to acquire it.
当一个锁当前正在使用,而另一个线程试图获取它,那么就会出现锁争用。
Lock contention occurs when a lock is currently in use and another thread attempts to acquire it by another thread.
如果一个锁正在使用中,而另一个线程尝试获取它,这时会发生锁争用。
If a lock is acquired recursively, the requesting thread already owns it.
如果锁是以递归方式被请求,那么发出请求的线程已经持有了它。
For example, a lock snapshot captures and returns database lock information.
例如,锁快照捕获并返回数据库锁信息。
The results of the benchmark seemed to suggest that acquiring a lock is an expensive operation.
测试的结果似乎表明获取锁是一项昂贵的操作。
As a result, each thread ends up waiting for a lock held by the other thread.
结果,每一个线程都会等待另一个线程所保持的锁。
In the thread View, vertical arrows point from a thread requesting a lock to the thread that holds the lock.
在线程视图中,垂直的箭头从请求锁的线程,指向持有锁的线程。
If you have kids, be sure to use a box with a lock and keep it out of reach.
如果你有孩子,记得使用带锁的箱子并且把箱子藏好。
LOCKTIMEOUT specifies the number of seconds that an application will wait to obtain a lock.
LOCKTIMEOUT指定了应用程序为获取锁所等待的秒数。
A lock-bound application is one in which multiple threads are fighting over the same locks.
在一个锁关键型应用程序中,多个线程在相同的锁上争用。
The following series of operations produces a lock wait that seems surprising.
下面的一系列操作生成了一个好象是意外的锁等待。
The select does not complete; it appears to be waiting on a lock.
这个select不会完成,它看来是在等待一个锁。
If you need a lock, keeping it simple, such as using a single lock for nearly everything, has its advantages.
如果您需要一个锁,那么保持其简单性(比如为几乎所有内容都使用惟一的锁)是有好处的。
Due to execution dependencies, a lock-up in the database could impact the application.
由于执行上的依赖,数据库中的锁定会影响到整个应用。
To enforce this guarantee in a multithreaded environment requires a lock to synchronize threads.
要在多线程环境中强制此保证,需要一个锁来同步线程。
If there is a lock on a given sequence ID, then that message is not processed until the lock becomes available.
如有在一个给定的排序id上有一个锁定,那么只有在这个锁定可用后,该消息才会被处理。
The only alternative to a lock on every new row is a table lock (since there are no page locks in DB2).
对于每个新行之上的锁,惟一可以替代的是表锁(DB 2中没有页锁)。
Intent Locks: Used to establish a lock hierarchy.
意向锁:用于建立锁的层次结构。
By contrast, a lock-free algorithm requires only that some thread always make progress.
与此形成对比的是,无锁定算法要求仅某个线程总是执行操作。
应用推荐