A special code is needed to override the time lock.
这定时锁要用特定密码才能打开。
The first section provides information about the date and time of the lock timeout occurrence and about the corresponding instance and database.
第一部分提供与锁定超时发生的日期和时间,以及相应的实例和数据库相关的信息。
While spin locks are CPU-intensive and appear inefficient, they can be more efficient than suspending the thread and subsequently waking it up if the lock in question is held for a very short time.
虽然旋转锁是cpu密集型的,显得效率低下,但是如果争夺的锁被持有的时间非常短,那么旋转锁要比暂挂线程然后再唤醒它更有效率。
On the other hand, if the lock is held for a longer time, spinning is wasteful as the spinning thread consumes CPU without doing anything useful.
另一方面,如果锁被占有很长时间,那么自旋的线程只会消耗CPU而不做任何有用的工作,因此带来浪费。
In addition, we lock the value to ensure a user does not accidentally change this value at deploy time (Figure 13).
另外,我们锁定这个值,以确保在部署时用户不会意外地更改它(图13)。
The first lane is Time, indicating when this lock contention occurs.
第一列是时间,表明什么时候锁出现了竞争。
If you are going to hold the lock on the collection during an entire iteration, then other threads may be stalled waiting for the collection lock for a long time.
如果您要在整个迭代期间都保持对集合的锁,那么其他的线程就会在锁外停留很长的一段时间,等待解锁。
For example, if the database parameter LOCKWAIT is set to 20 seconds, a transaction waiting for a lock is rolled back after 20 seconds of wait time.
例如,如果数据库参数LOCKWAIT 被设置为20秒,一个等待锁的事务在过了 20 秒的等待时间后被回滚。
Duration: Specifies the length of time for which a lock is held.
持续时间:指定了锁被持有的时间长度。
The only reason for the delay could be that there are too many writer threads, and sufficient time has elapsed before a lock could be acquired.
造成延迟的惟一原因是写线程太多,要等待很长时间才能获得锁。
These statistics include how the lock was acquired, the total amount of time the lock was held, and the average amount of time that the lock was held.
这些统计数据包括锁被请求的方式、锁被持有的总时间以及锁被持有的平均时间。
The time (microseconds) to perform the transaction for a single node were 1877 with regular locking, 1225 with an explicit write lock, and 181 using a "dirty interface".
完成一个事务的时间(以毫秒计)在单节点上是:常规锁——1877,显式写入锁——1225,而使用“脏接口”的话是181。
The shorter the time a thread holds a given lock, the lower the probability that another thread will request it while the first thread is holding it.
一个线程占用一个给定锁的时间越短,另一个线程在该线程仍占用锁时请求该锁的可能性就越小。
The cost is that the duration for which the lock is held may be lengthened, increasing the amount of time other threads might be locked out and also increasing the probability of lock contention.
代价则是持有锁的时间可能会变长,从而延长了其他线程被锁在外面的时间,也会增大锁争用的可能性。
When I first started this exercise to examine the effectiveness of Hotspot applied lock optimizations, I figured it would take a couple hours of my time and in the end I've have a useful blog entry.
当我刚开始这个实验,解释应用各种锁优化的Hotspot的有效性的时候,我估计它将花费我几个小时的时间,最终这会丰富我的blog的内容。
Futexes optimize the time to obtain an uncontested lock without relying on the kernel; kernel intervention is required only for contested locks.
Futexes对获得非竞争锁的时间进行了优化,而不用依赖内核;只有对竞争的锁才需要内核干涉。
The VM sometimes calls the Core (when defining a method for example) which acquires the Core lock, but most of the time it just runs concurrently.
VM有时候也会调用Core(例如定义一个方法)请求Core锁,但是大多数时候它都是并行执行的。
The frequency TAB shows the list of SQL statements with their frequency of execution along with the average response time, lock wait, and wait IO time.
Frequency选项卡按执行频率列出sql语句并显示平均响应时间、锁等待时间和IO等待时间。
You can see from this screenshot that the JLAsink monitor has had 9,161 gets made on it and that the requesting thread was blocked trying to obtain the lock 25 percent of the time.
可以从此屏幕截图中看到,JLAsink 监视程序进行了 9,161 次 get,并且请求线程被阻塞,阻止它获得 25%的锁时间。
In the event of a sudden system shutdown or panic, the MUI may have trouble starting when booting up because the MUI doesn't have the proper time to clean up leftover lock files when a system fails.
如果发生系统突然关机或panic,MUI可能在启动时很难打开,因为系统崩溃时MUI没有适当的时间来清除剩余的锁文件。
In this situation, if no lock is available at the time of the request, the application immediately receives a -911.
在这种情形中,如果请求时没有可用的锁,那么应用程序立刻会接收到- 911。
These systems lock files so that only one developer has write access to the central repository at a time.
这些系统对文件进行加锁,这样在某个时间只有一个开发人员对中心仓库具有写入权限。
An optimization like this would not be possible in a statically compiled environment because the information about lock usage patterns is not available at static compilation time.
像这样的优化在静态编译环境中是不可能的,因为关于锁使用模式的信息在静态编译时得不到。
This routine takes in two arguments, the second being the absolute value of time by which, if the lock could not be acquired, the routine returns with a non-zero status.
这个例程有两个参数,第二个参数是绝对时间值。如果在到达这个时间时还无法获得锁,例程会返回且状态码非零。
In this situation, the application will wait for a lock (if one is not available at the time of the request) until either the lock is granted or until a deadlock occurs.
在这种情形中,应用程序将等待获取锁(如果请求时没有可用的锁),一直到被授予了锁或出现死锁为止。
The next time you see a woman you want to meet, LOCK your eyes on her!
下次看见一个你想见的女人时,用你的目光把她锁定。
"The sea level rise is a much slower thing, so it will take a long time to happen, but we will lock into it, based on the peak level of [carbon dioxide] we reach in this century," Solomon says.
“海平面上升是一个缓慢得多的事情,因此将需要很长时间才能发生,但我们将基于本世纪达到的二氧化碳峰值锁定它的水平。”所罗门说。
When multiple threads ask for the same lock at the same time, one wins and acquires the lock, and the others block.
在多个线程同时请求同一个锁时,会有一个线程获胜并得到锁,而其他线程被阻塞。
Information is captured about every lock that was held at the time that the snapshot was taken.
锁信息捕获的是关于截取该快照时持有的每个锁的信息。
At this time, an exclusive seize is acquired by the DB2 engine to synchronously move the data, so while a lock time-out will not occur, other jobs will wait for the move to complete.
这一次,DB 2引擎获得一个互斥捕捉,用于同步地移动数据,因此当锁超时没有发生时,其他任务将等待数据移动的完成。
应用推荐