Then it atomically decreases the semaphore count. 然后它自动地减少信号的计数值。
The package manager precludes partial and faulty installations and "uninstalls" by adding and removing the files in a package atomically. 包管理器通过添加和删除包中的各个文件来来预防不完整和错误的安装,以及“卸载”应用程序。
Individual thread stacks must be scanned atomically, or within a single quantum. 单独线程栈必须自动进行扫描,或在单个时间量内扫描。
Database write locks are needed only at transaction commit time to ensure that the modified items are updated atomically without interference from concurrent updaters. 只有在事务提交时才需要数据库写入锁,以确保原子地更新已修改的项,而不受到并发更新的干扰。
The class of the object that will be updated atomically ( in this case, Book) 将得到原子更新的对象的类(在本例中是Book)
The name of the field to be updated atomically 将经过原子更新的字段的名称
The function semop() performs a set of operations contained in sops atomically ( all operations performed at the same time only if they can be performed at the same time). 函数semop()原子地执行sops中包含的一组操作(只在所有操作都可以同时成功执行时,才会将所有的操作同时一次执行完)。
Atomic variables have memory semantics similar to that of volatile variables, but because they can also be modified atomically, they can be used as the basis for lock-free concurrent algorithms. 原子变量的内存语义与volatile变量类似,但是因为它们也可以被原子性地修改,所以可以把它们用作不使用锁的并发算法的基础。
Modern processors provide special instructions for atomically updating shared data that can detect interference from other threads, and compareAndSet() uses these instead of locking. 现代的处理器提供了特殊的指令,可以自动更新共享数据,而且能够检测到其他线程的干扰,而compareAndSet()就用这些代替了锁定。
Each increment will happen atomically, and chances are you'll get the desired result. 每个加一操作都将完整地进行,并且多半会得到期望的结果。
Each defers work from the interrupt context, but only tasklets run atomically in a run-to-complete fashion, where work queues permit handlers to sleep, if necessary. 每种方法都在中断上下文延迟任务,但只有微线程采用run-to-complete的风格自动运行,而在此处,如果需要,工作队列允许处理程序休眠。
Just as in a relational database, only by committing the operations you have been performing do you make them atomically appear in the database. 正如在关系数据库中一样,只有通过提交已执行的操作,这些操作才会出现在数据库中。
Data integrity depends on a set of actions atomically moving data from one well-defined state to another. 数据完整性取决于一组作为原子的从一个定义明确的状态变化到另一个定义明确的状态的动作。
To resolve this, once you create a temporary file atomically, you must always use the file descriptor or file stream you got when you opened the file. 解决这种问题的方法是,一旦自动创建了一个临时文件,就必须始终使用打开该文件时得到的文件描述符或文件流。
Although a stack must be scanned atomically, it would be difficult to keep determinism if all stacks were scanned during a single quantum. 虽然栈必须自动进行扫描,但是如果在单个时间量期间所有栈都被扫描,则可能难以保持确定性。
This will save the old stack pointer and allocate stack memory atomically. 这会保存原来的堆栈指针,并自动分配堆栈内存。
Even if you insert some inline assembly to ensure that the increment happens atomically& or even if you wrote the compiler yourself! 即使插入某些内嵌汇编语句以确保加一操作的完整执行――甚至,即使是自己动手写编译器!
Application developers should be aware that stacks are scanned atomically and should avoid using very deep stacks in their RT applications. 应用程序开发人员应该意识到栈应自动进行扫描并且应避免在RT应用程序中使用很深的栈。
Simple ( non-lazy) Mark Sweep GC executes mark and sweep atomically. 简单(非延迟)标记清理GC以原子方式执行标记和清理。
Cutting-edge applications in this field are associated with nanotechnology, developing super-conductors and other metals that have been atomically restructured. 该领域的前沿应用包括纳米技术、超电导体以及其他原子能改组金属。
The development team demonstrated nanowires with layers of the different silicon and germanium materials that were atomically sharp and therefore more efficient at carrying electronic charges. 该技术的研发团队展示了几种原子级尺寸的,采用不同的硅锗材料制成的分层结构纳米线,这种纳米线可以有效地传输电荷。
If a resource becomes invalid then its cached representation and all dependent resource representations are atomically invalidated. 如果一个资源变为无效,那么它所缓存的表示和所有依赖的资源表示就会自动变为无效。
The mica test pieces were prepared by cleavage so as to be atomically smooth. 云母试样是用劈裂的方法制备的,因此可以达到原子级的平滑程度。
If you bundle multiple functions together, upgrading the role becomes problematic because you have to upgrade the entire role atomically. 如果你将多个功能捆绑在一起,那么更新角色就会有问题,因为你需要分别更新每个角色。
Larger value types such as Guid require are not read and written atomically. 较大的值类型像Guid则无法以原子的方式读写。
The utility model can atomically and orderly feed materials, stably and accurately positions the materials, and is high in processing quality and convenient for operation. 本实用新型送料自动有序,原料定位稳准,加工质量高,操作方便。
Controls that do not support internal pagination must either have child controls or appear atomically on a single screen. 不支持内部分页的控件必定要么包含子控件,要么以原子方式出现在单一页中。
By STM and kinetic pathway, we successfully manipulate mass atoms on lead islands with atomically layer precision. 原子操纵实验中,我们成功的将巨量的原子排列在铅岛上,实现了原子的巨量操纵。
The surface of the active layer of GaAs photocathode must reach the atomically clean surface before Cs-O activeness. GaAs光电阴极在进行Cs-O激活前,激活层表面必须达到原子级洁净。