locking
adj. 用锁紧固的,能够锁定的
v. 上锁(lock 的现在分词)
n. 摇摆舞;(电子)锁定;
2026-04-13 16:04 浏览次数 22
adj. 用锁紧固的,能够锁定的
v. 上锁(lock 的现在分词)
n. 摇摆舞;(电子)锁定;
locking device[机] 闭锁装置,锁紧装置
Injection Locking[电子] 注入锁定
locking pliers老虎钳;大力钳
locking time[计] 锁定时间
self locking自销;自同步;自锁式
locking pin防松栓;插捎
locking ring[计][五金] 锁环;扣环;锁紧圈
locking coil保持线圈;吸持线圈
Inter locking联锁法
mode locking[电子] 锁模,波模锁定;振蕩型同步
locking nut防松螺母;锁紧螺帽
locking plate防松板
locking mechanism锁紧机构,[军] 闭锁机构;止动机构
locking washer锁紧垫圈
file locking文件上锁
Locking system锁止装置
locking bar锁闭桿;锁尺;锁条
locking bolt锁紧螺栓;防松螺栓
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列出的结果比我所期望的要少,但确实可以从中看出各种优化能够除去锁产生的大部分开销。
who, except the most paranoid or terrified, would think of locking themselves away for days, weeks or months in a nightmare such as this?
除了极端偏执或者惊恐的人,谁会想要把自己锁在里面过上几天、几星期或者几个月,处于这样的梦魇之中?
since persistent storage is a block device, locking is controlled by the host it is assigned to (figure 2).
因为持久性存储是一种块设备,锁定是由它指定的主机来控制的(图2)。
nina tells teri that she is locking her in from the outside but that everything will be fine.
尼娜告诉泰瑞,她会从外面将泰瑞锁在房间里,但所有事情都会雨过天晴的。
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.
以上一系列操作会让你的车子尽可能在陡坡上保持住牵引力,因为此时变速箱和制动器都起到了锁定车辆的作用。
however, this does not mean you should use double-checked locking in these instances.
然而,这并不意味着应该在这些实例中使用双重检查锁定。
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 专有的变量。使用此方法使锁定需求最小化并提高了性能。
in order for each system to perform work, they must share some type of locking and clock mechanisms.
为了让每个系统执行工作,它们必须共享一些类型的锁和锁机制。
another example is priority inheritance, a locking policy that defines how lock synchronization is managed when a lock is contested.
另一个例子是优先级继承,它是一种锁定策略,定义了锁竞争时如何管理锁同步。
locking properties for parts in a pattern can be very useful, but you should balance this capability against enabling maximum pattern reuse.
模式中的部件的锁定属性有时非常有用,但您应该平衡一下此功能与最高的模式重用性。
i took the precaution of locking everything in the safe.
我把一切东西都锁在保险箱里以防万一。
with this kind of thinking, locking the data in the beginning of the transaction can be avoided.
带着这样的思想,我们可以避免在事务处理一开始就锁定数据。
i took the precaution of locking money in the safe.
我把所有的钱都锁在保险箱里以防万一。
but then you lose the whole purpose of locking and atomicity, which clearly shows the necessity of using the memory constraint.
但这样您会无法理解锁定和原子性的全部意图,这些明确显示了使用内存约束的必要性。
the code change in this example did not involve any synchronization and so there are no issues with the locking behavior of the application.
本例中的这个代码更改没有涉及任何同步,因此也没有产生应用程序的锁定行为问题。
the first lesson from this is that you can go too far in simulation; locking access to individual dice is, frankly, just silly.
从中我们得到的第一个教训是,您可以深究模拟情况;坦白地说,锁定单个骰子的存取愚蠢的。
that is, you make sure that only one thread at a time can access a certain data structure by locking and unlocking it.
这就是说,通过线程的锁定和解锁,对于某一数据结构,确保某一时刻只能有一个线程能够访问它。
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,供应商就可以借助硬件驱动程序将使用者锁定到它们提供的内核,因为只有这个内核可以支持某个特定的硬件。
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.
这样的话,纯建议性的锁定仍然可以提供您所需要的:确保任何时候只有一个程序对数据文件进行修改。
note that applications that do not use this programming model are not considered optimistic locking applications, and they will continue to work as before.
注意,未使用这种编程模型的应用程序被认为是非乐观锁定应用程序,它们将按照以前的方式工作。
the middle box toggles between locking and unlocking a layer.
中间框会在锁定和解锁一个层之间进行切换。
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.
测试程序想要度量一个锁原语的性能,但是它在这样做的时候,没有考虑到竞争的影响,并且只是在一个单处理器系统上进行测试的。
again, this can be prevented by locking the collection for the duration of iteration.
同样,也可以通过在迭代期间锁定集合防止这个问题。
since we are not manipulating locks ourselves, the engine is locking each row (or page) as it needs it.
由于我们没有操控锁,因此引擎在需要一行(或者页)时会对其进行锁定。
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.
如果您的程序实现为许多相关联的程序组件,那么可以将锁定代码放在所有组件中,但更好的方法是将它放在一个共享模块中。