Otherwise, you can use the "recursive" mutex type, which allows the holder of the lock to lock the same mutex multiple times.
另外,您还可以使用“递归”类型的互斥量,这种互斥量允许对同一个互斥量锁定多次。
On most cars, it takes three to four complete revolutions of the steering wheel to make the wheels turn from lock to lock (from far left to far right).
在大多数情况下,转向盘转三到四周方能使车轮从一个极限位置转到另一个极限位置(从最左转动最右)。
For example, assume one virtual processor is holding a lock and does not have enough cycles to release that lock.
例如,假定一个虚拟处理器持有一个锁,并且它没有足够的周期来释放这个锁。
I can't lock them out because it's not my room to lock.
我不能要她们吃闭门羹,因为这不只是我的房间,我不能把它紧锁。
A lock associates the resource with an application, called the lock owner, to control how other applications can access the same resource.
锁将资源与应用程序(叫做锁拥有者)相关联,以控制其他应用程序对同一资源的访问。
FE lock is simply obtaining a proper flash exposure, pushing the right button to lock in that exposure.
就是先获得恰当的闪光曝光值,压下闪光曝光锁按钮,锁定这个曝光值。
In this case, a logical lock (not a physical database lock) is used to flag that a row is in use for a long-term duration.
在本方案中,通过逻辑锁(而不是物理锁)来对在较长时间中使用的数据行进行标记。
The only alternative to a lock on every new row is a table lock (since there are no page locks in DB2).
对于每个新行之上的锁,惟一可以替代的是表锁(DB 2中没有页锁)。
The LOCK TABLE command can be used to lock a table instead of using the default row locking.
可使用LOCKTABLE命令来锁定一个表,而不是使用缺省的行锁定。
The system detects that the P3 thread is holding a lock required by the P1 thread and elevates its priority to P1 until the lock is released.
如果系统检测到P 3线程正在持有一个P 1线程需要的锁,则会把P 3线程的优先级置为P1,直到它释放了锁。
In the thread View, vertical arrows point from a thread requesting a lock to the thread that holds the lock.
在线程视图中,垂直的箭头从请求锁的线程,指向持有锁的线程。
In other words, the operating system doesn't enforce the resource sharing through the lock, so all processes that need the resource must cooperate to use the lock.
换句话说,操作系统不会强制您通过锁来共享资源,所以,所有需要该资源的进程都必须协同使用该锁。
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.
例如,在财务系统中的客户级别上:一个粗粒度锁会锁定该客户的所有帐户,另一个锁则可锁定全部保险策略。
Alternatively, you can click on the lock icon in the toolbar to unlock them (the lock icon will then change to the unlocked icon).
也可以通过单击工具栏上的锁图标解锁它们(锁图标会变成打开的锁图标)。
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表锁定。
32 bytes are required to record a lock on an object that has an existing lock held on it.
需要32个字节来记录某个对象上的锁,在这个对象上,已经持有一个锁。
Using a separate file to indicate a lock is an example of an advisory lock, not a mandatory lock.
使用单独的文件来表示锁,是“劝告式(advisory)”锁而不是“强制(mandatory)”锁的一个例子。
You can use AccessIntent to resolve the lock type and pass this lock type to the stored procedure, which then determines the correct SELECT statement syntax based on the lock type.
用户可以使用AccessIntent来解决锁定类型并将该死锁类型传送给存储过程,然后以锁定类型为基础,确定适当的SELECT语句语法。
Experts recommend that users should spend around 10 per cent of their bike's value on a decent lock - ideally two - and always lock it to a solid object through the frame.
专家们推荐使用者至少花费车价的百分之十用于购买合适的锁——当然两个更为理想——并且始终把车架和某坚固物体一起锁上。
Some databases (such as SQL Server) allow you to disable the page-level locking in hopes that it won't escalate from a row-level lock to a table-level lock.
一些数据库(比如sqlServer)允许您禁用页面级锁,以期它不会从行级锁切换到表级锁。
It showed, by example, how you can use the lock event monitor to collect information about any kind of concurrency issue: deadlocks, lock-timeouts, and lock-waits.
本文通过实例演示了如何使用锁事件监控器来收集所有种类的并发性问题:死锁、锁超时及锁等待。
Lock contention occurs when a lock is currently in use and another thread tries to acquire it.
当一个锁当前正在使用,而另一个线程试图获取它,那么就会出现锁争用。
Even with the functionality of lock timeout reporting, it may not always be possible to determine the cause of lock timeouts easily.
即使拥有了锁定超时报告功能,也不是总能够轻松确定出导致锁定超时的原因。
Lock contention occurs when a lock is currently in use and another thread attempts to acquire it by another thread.
如果一个锁正在使用中,而另一个线程尝试获取它,这时会发生锁争用。
When this happens, the thread failing to acquire the lock is put into a logical queue of lock contenders for the object.
当发生这种情况时,没有获得锁的线程被置于对象的锁争用者的一个逻辑队列中。
Alternatively, you can click on the lock icon in the toolbar to lock them (the icon will then change to locked).
也可以通过单击工具栏上的锁图标锁住它们(图标会变成锁住的锁)。
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行为——在前面的同步示例中,将接着执行具有最高优先级的线程——也适用于锁争用者和锁等待者的队列。
Shortages in the lock maintenance space can lead to so-called lock escalations, in which row locks are escalated to undesirable table locks, which can even lead to deadlock situations.
锁维护空间不足可能会导致所谓的“锁提升”,其中,行锁被提升为不必要的表锁,这甚至可能会导致死锁情况。
Shortages in the lock maintenance space can lead to so-called lock escalations, in which row locks are escalated to undesirable table locks, which can even lead to deadlock situations.
锁维护空间不足可能会导致所谓的“锁提升”,其中,行锁被提升为不必要的表锁,这甚至可能会导致死锁情况。
应用推荐