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.
代价则是持有锁的时间可能会变长,从而延长了其他线程被锁在外面的时间,也会增大锁争用的可能性。
This includes items like the system idle time and whether the user's session is locked.
这包含诸如系统空闲时间、用户会话是否锁定之类的项目。
The virtual memory size property for each of the components in the pattern can be locked at the time of authoring.
模式中的每个组件的虚拟内存大小属性都可以在创建时锁定。
She took the stairs four at a time and locked herself up in her room.
她一步迈四阶楼梯,把自己锁在她的房间里了。
In general union rates and time to union have been satisfactory for locked plating of distal radius fractures.
通常锁定钢板治疗桡骨远端骨折愈合的几率和时间是令人满意的。
Pessimistic concurrency is not a scalable option when users are interacting with data and causing records to be locked for relatively large periods of time.
如果用户与数据进行交互,会使记录锁定相对长的时间,保守式并发并不是可伸缩的选项。
It also includes, Hall element inputs, a sequencer for commutation control, fixed off time pulse width modulation (PWM) current control and locked rotor protection.
它还包括霍尔元件输入、整流控制定序器、固定停机时间脉冲宽度调制(PWM)电流控制以及锁定转子保护。
The shipping containers can be opened at both sides for loading and unloading at the same time. They are watertight and airtight and can be loaded and locked at the factory.
船运集装箱能两头开启供同时装货及卸货,船运集装箱是防水和密封的,在厂内可以装货,也可锁上。
Conclave, which literally means locked with a key, dates back to a time when cardinals were locked in until they chose a new Pope.
秘会,它的字面意思是用钥匙锁着,可以追溯到过去红衣主教被锁住直到他们选择一位新教皇。
No two threads can have the same mutex locked at the same time.
两个线程不能同时对同一个互斥对象加锁。
Notice that locked properties do not appear in the deployment time dialog.
请注意,锁定的属性不会在部署时对话框中出现。
Rows are only locked at the point in time that a cursor is positioned on them; once the next row is fetched, the lock is released.
数据行只是在游标定位它们时才锁定,一旦获取下一行之后,锁将被解除。
For each part in a pattern, property values that were not locked in the pattern are supplied at deployment time.
对于模式中的每个部件,模式中没有锁定的属性值将在部署时提供。
These values can also be supplied at pattern deploy time, or the values can be entered and locked into the pattern so that they have the same value for all deployments of the pattern.
这些值也可以在模式部署时提供,或者可以将这些值输入并锁定到模式中,这样就可以对该模式的所有部署使用相同的值。
"This is a chance of a life time," I declared to my friend Stacy as I locked the door of my office and left the restaurant I managed.
“这可是我生命中的一次机遇,”我对斯泰西说。说着,我锁上办公室的门,离开了我经营多年的饭店。
People in small Iowa towns locked their doors for the first time.
在爱荷华的小镇上,家家户户第一次锁上了门。
This data can be "locked" for a substantial time period, so should be used judiciously.
这些数据可被“锁定”一段时间,因此使用时需谨慎。
As a general rule, time critical processes should be locked into memory.
一般来说,对时间要求苛刻的进程应锁定在内存中。
Prisoners in open prisons are locked up at night, but for the rest of the time, they are free within the prison grounds.
开放式监狱里的囚犯晚上会被关起来,但其余时间,他们在监狱内享有人身自由。
It is such a familiar road.Every step of mine extend there, where locked in all my beautiful memory.Time and time again, I step on it, without so much as identifying it is reality or dream.
这条路,曾经无比熟悉的,每一步都是通向那里,那个锁着我所有美好回忆的地方,一次次,我又走上了这条路,分不清是现实抑或是梦境。
They kept the door locked for a long time.
他们把门锁了好长一段时间。
Security bits can be erased (unlocked), but the secured contents of the locked row or column is also erased at the same time.
安全位可被擦除(解锁),但同时锁定行或列的受保护内容也被擦除。
The theater audience said goodbye as Bradford locked the doors for the last time.
在布拉德福德最后一次锁门时,剧院的观众们向他说了再见。
When updates were attempted on records which were already locked, the transaction was rolled-back and retried at a later time.
当试图对已上锁的记录进行更新时,事务回滚并在稍后重新执行。
The thread in this image that has the mutex locked gets to access the complex data structure without worrying about having other threads mess with it at the same time.
图中,锁定了互斥对象的线程能够存取复杂的数据结构,而不必担心同时会有其它线程干扰。
Suddenly, the adventurer (27 at the time) who can't stop moving is locked in place.
这个从未停下探索脚步的27岁探险家突然间成了笼中困兽。
Most companies are "locked in" to this kind of behavior, which has built up over time.
随着时间的推移,大多数公司都“陷入”了这种行为。
Most companies are "locked in" to this kind of behavior, which has built up over time.
随着时间的推移,大多数公司都“陷入”了这种行为。
应用推荐