Certain critical sections of the kernel code are locked against preemption.
可以锁定内核代码的关键部分,不允许抢占。
Code areas with synchronized access are sometimes called critical sections.
能够进行同步访问的代码块有时称为关键部分。
Therefore, it is important for a thread programmer to minimize critical sections.
因此,对程序员而言减小临界域是很重要的。
Whenever you write or store data, you must block the access with critical sections.
每当写入或存储数据时,都必须用临界区将访问模块化。
You should use separate semaphores to protect different critical sections of a program.
你应该使用不同的信号来保护程序的不同的临界区。
Similar to semaphores are "critical sections," which are sections of code that cannot be interrupted.
类似于同步信号的是“临界区域”,它是程序码中不可中断的部分。
Race conditions are only an issue where interrupts and/or preemption are possible and where critical sections exist.
竞争状态仅仅有一种情况下产生,在此处中断或(和)优先抢占是充许的并且有一个临界区存在。
For really critical sections of your code, you might consider adding some functional tests as a safety net before you start refactoring.
对于代码中真正关键的部分,可能需要在进行重构之前添加一些功能测试作为一种安全保障。
The class library uses critical sections internally to protect global data structures, such as those used by the debug memory allocation.
类别程式库在内部使用关键区段来保护全域资料结构,例如侦错记忆体配置所使用的资料结构。
POSIX provides the mutex function to create critical sections that enforce exclusive access to an object (a piece of memory) by a single thread.
POSIX提供了互斥函数来创建临界区,用于实施单线程对对象(一块内存)的独占访问。
To overcome this, you usually add Critical Sections all over your code to make sure that only one thread can access the object at one time.
为了克服这个,你通常添加在你的所有关键代码段,以确保只有一个线程可以在同一时间访问的对象。
This procedure can be used in a way against scheduling critical sections of code to deal with, but also greatly reduces the time to break off!
这样就可以在程序中使用禁止调度的方式来处理临界段的代码,也大大减少了关中断的时间!
Critical sections operate on the principle of mutual exclusion (when a thread is within a critical section, all other threads are excluded from entering).
临界段操作时坚持互斥锁(mutual exclusion)原则(当一个线程处于临界段中时,其他所有线程都不能进入临界段)。
If you must have multiple threads manipulate the same object, you should implement the appropriate synchronization mechanisms, such as critical sections.
如果必须用多线程处理同一对象,则应该执行适当的同步机制,如临界区。
Joint sections in continuous beams or other continuous structures are the critical sections usually encountered and necessary to be considered in design.
合龙段是连续梁或其他连续结构普遍需要处理的问题之一。
The result indicates that this method can reflect the force of different critical sections of boom better and improve the reliability of the optimum result.
结果表明此方法更能反映动臂在工作过程中不同危险截面的受力情况,得到的优化结果可信度更高。
LOCK-Based Critical Sections: Although a LOCK-UNLOCK pair does not act as a full memory barrier, these operations do affect memory ordering. Consider the following code.
锁保护的临界区:经lock -UNLOCK对不能实现完全的内存屏障的功能,但是,它们也的确会影响内存访问顺序,参考下面的示例代码。
This chart gives you a summary of some of the critical thermal-neutron cross sections of important fissile and fertile nuclides.
这个图表给你们一个重要的,可裂变和可转换核素的,一些临界热能中子横截面的总结。
The SAT has three sections: critical reading, math and writing. The ACT has math, science, reading and English sections, plus optional writing.
SAT包含三部分,即阅读分析、数学和写作,而ACT包含数学、理科综合、阅读和英语,外加作为选答题的写作部分。
Critical curves for local stability of sections of all kinds under complex stresses can be obtained through computation.
通过程序计算,可以得到复杂应力作用下的任意截面形状的局部稳定性临界曲线。
Based on energy theory, a simple critical force calculation for pressed beam with variable cross sections is derived. It reduces the complex integration algorithm into a simple algebraic operation.
以能量原理为基础,推导出变截面压杆计算临界力的简便方法,把复杂的积分运算归结为一个简单的代数运算。
The studying of the different sections deck shows: the variation pattern of flutter critical wind speed of bridge with flat box deck and wind yaw Angle is significantly affected by wind attack Angle.
研究发现:扁平箱形断面桥梁的颤振临界风速与风偏角的关系明显地受到风攻角的影响。
Certain themes are covered more often than others on the critical reading sections.
阅读部分的某些话题讨论频率也高于其他内容。
But in Pakistan's case, sections of the media are reinforcing the nation's paranoia at a critical time when it faces a threat to its very existence.
就巴基斯坦的情况而言,在国家面临危急的关头,媒体总是要加强国家的偏执言论的。
Formation of protective films in highly recessed areas such as flanges and box sections provides critical corrosion protection.
电泳漆在非常隐蔽的部位,如翻边以及箱式结构,仍能形成完整的保护膜,从而得到较高的防腐蚀性。
In the process of 3 D cell reconstruction of serial sections through medical tissues, the registration of cell profiles in consecutive sections is a critical step.
在由序列医学切片图象重建三维细胞的过程中,对同一细胞在相邻切片中各剖面的配准是关键的一步。
The influence of aerodynamic force matrix on critical flutter state with aerodynamic derivatives of four different sections was studied.
采用理想平板的气动导数研究了各气动导数对颤振临界状态的影响。
The influence of aerodynamic force matrix on critical flutter state with aerodynamic derivatives of four different sections was studied.
采用理想平板的气动导数研究了各气动导数对颤振临界状态的影响。
应用推荐