• However, database locking in and of itself may not be sufficient.

    但是,仅仅依靠数据库本身锁定不够的。

    www.ibm.com

  • That is, you make sure that only one thread at a time can access a certain data structure by locking and unlocking it.

    就是说通过线程锁定和解,对于某一数据结构确保时刻只能一个线程能够访问

    www.ibm.com

  • If your program is implemented as a number of related programs, put the locking code in all of them, or better yet, put it in a shared module.

    如果程序实现许多关联程序组件,那么可以锁定代码放在所有组件中,更好方法是放在一个共享模块中。

    www.ibm.com

  • However, this does not mean you should use double-checked locking in these instances.

    然而并不意味着应该这些实例使用双重检查锁定

    www.ibm.com

  • But then you lose the whole purpose of locking and atomicity, which clearly shows the necessity of using the memory constraint.

    这样会无法理解锁定原子性全部意图这些明确显示使用内存约束必要性

    www.ibm.com

  • With this kind of thinking, locking the data in the beginning of the transaction can be avoided.

    带着这样思想,我们可以避免事务处理一开始就锁定数据

    www.ibm.com

  • Locking properties for parts in a pattern can be very useful, but you should balance this capability against enabling maximum pattern reuse.

    模式中的部件锁定属性有时非常有用应该平衡一下功能最高模式重用性

    www.ibm.com

  • So lock coarsening can also enable other optimizations that have nothing to do with locking.

    这样粗化可以其他锁定无所作为优化措施发挥作用。

    www.ibm.com

  • The code change in this example did not involve any synchronization and so there are no issues with the locking behavior of the application.

    中的这个代码更改没有涉及任何同步因此没有产生应用程序锁定行为问题

    www.ibm.com

  • Who, except the most paranoid or terrified, would think of locking themselves away for days, weeks or months in a nightmare such as this?

    除了极端偏执或者惊恐要把自己里面过上几天几星期或者几个月,处于这样梦魇之中

    article.yeeyan.org

  • The test program wants to measure the performance of a locking primitive, but it did so without including the effects of contention, and was run only on a single-processor system.

    测试程序度量一个原语性能但是这样时候,没有考虑到竞争影响并且只是一个处理器系统上进行测试的。

    www.ibm.com

  • This situation should be prevented by locking.

    这种情形应该通过锁定来进行保护

    www.ibm.com

  • Again, this can be prevented by locking the collection for the duration of iteration.

    同样,也可以通过迭代期间锁定集合防止这个问题。

    www.ibm.com

  • This permits the declaration of variables for a CPU that are most commonly accessed by that CPU, which minimizes the locking requirements and improves performance.

    允许某个CPU通常访问变量声明CPU 专有变量使用此方法使锁定需求最小化提高了性能

    www.ibm.com

  • Since persistent storage is a block device, locking is controlled by the host it is assigned to (Figure 2).

    因为持久性存储一种设备锁定指定主机控制的(2)。

    www.ibm.com

  • The middle box toggles between locking and unlocking a layer.

    中间会在锁定和解一个之间进行切换

    www.ibm.com

  • If the non-atomic operation is invoked by only one thread, due to a start-join relation or external locking, then the code idiom will be thread safe.

    如果这个原子操作仅仅一个线程调用由于有一个开始联合关系或者外部那么这样编码方法也是线程安全的。

    www.ibm.com

  • In particular, without the GPL, hardware drivers could give vendors a tool for locking people in to a particular kernel because only their kernel can support a particular piece of hardware.

    尤其是如果没有GPL供应商可以借助硬件驱动程序使用者锁定它们提供内核因为只有这个内核可以支持某个特定硬件

    www.ibm.com

  • Though the results exhibited in figure 3 are less than what I hoped for, they do indicate that the optimizations do remove most of the locking overhead.

    尽管3列出结果期望要少确实可以从中看出各种优化能够除去产生大部分开销

    www.infoq.com

  • In order for each system to perform work, they must share some type of locking and clock mechanisms.

    为了每个系统执行工作它们必须共享一些类型机制

    www.ibm.com

  • Nina tells Teri that she is locking her in from the outside but that everything will be fine.

    尼娜告诉泰瑞外面泰瑞房间里,所有事情都会雨过天晴的。

    article.yeeyan.org

  • This process gives your vehicle the best chance of holding traction on the steep hill, because both the gearbox and the brakes are locking you in place.

    以上一系列操作会让车子尽可能陡坡保持住牵引力因为此时变速箱制动器起到锁定车辆作用。

    hanyu.iciba.com

  • Another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.

    另一个例子优先级继承它是一锁定策略定义了竞争如何管理同步

    www.ibm.com

  • The first lesson from this is that you can go too far in simulation; locking access to individual dice is, frankly, just silly.

    从中我们得到的一个教训可以深究模拟情况;坦白地说锁定单个骰子存取愚蠢的。

    www.ibm.com

  • Note that applications that do not use this programming model are not considered optimistic locking applications, and they will continue to work as before.

    注意使用这种编程模型应用程序认为是非乐观锁定应用程序它们按照以前的方式工作

    www.ibm.com

  • Since we are not manipulating locks ourselves, the engine is locking each row (or page) as it needs it.

    由于我们没有操控因此引擎需要一行或者时会对其进行锁定

    www.ibm.com

  • This way, the purely advisory locking still gives you what you need: reliable assurance that only one program at a time is modifying the data files.

    这样的话,建议性的锁定仍然可以提供需要的:确保任何时候只有一个程序数据文件进行修改

    www.ibm.com

  • Where as most optimizations are applied very early on, for some unknown reason, biased locking was only applied after three or four full seconds into the run.

    尽管大多数优化都会在测试的早期发生但是由于某些未知原因偏向发生测试开始之后

    www.infoq.com

  • So you can do super-efficient caching and avoid locking and contention problems.

    所以可以进行超高效率缓存避免锁定争用问题

    www.ibm.com

  • So you can do super-efficient caching and avoid locking and contention problems.

    所以可以进行超高效率缓存避免锁定争用问题

    www.ibm.com

词组短语

locking device 闭锁装置,锁紧装置

locking mechanism 锁紧机构,闭锁机构;止动机构

self locking 自销;自同步;自锁式

locking plate [化]防松板

locking nut 防松螺母;锁紧螺帽

mode locking 锁模,波模锁定;振荡型同步

file locking 文件上锁

locking ring 锁环;扣环;锁紧圈

locking bolt 锁紧螺栓;防松螺栓

  更多收起词组短语
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定