Certain critical sections of the kernel code are locked against preemption.
可以锁定内核代码的关键部分,不允许抢占。
Code areas with synchronized access are sometimes called critical sections.
能够进行同步访问的代码块有时称为关键部分。
For really critical sections of your code, you might consider adding some functional tests as a safety net before you start refactoring.
对于代码中真正关键的部分,可能需要在进行重构之前添加一些功能测试作为一种安全保障。
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提供了互斥函数来创建临界区,用于实施单线程对对象(一块内存)的独占访问。
Therefore, it is important for a thread programmer to minimize critical sections.
因此,对程序员而言减小临界域是很重要的。
Similar to semaphores are "critical sections," which are sections of code that cannot be interrupted.
类似于同步信号的是“临界区域”,它是程序码中不可中断的部分。
The class library uses critical sections internally to protect global data structures, such as those used by the debug memory allocation.
类别程式库在内部使用关键区段来保护全域资料结构,例如侦错记忆体配置所使用的资料结构。
If you must have multiple threads manipulate the same object, you should implement the appropriate synchronization mechanisms, such as critical sections.
如果必须用多线程处理同一对象,则应该执行适当的同步机制,如临界区。
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.
结果表明此方法更能反映动臂在工作过程中不同危险截面的受力情况,得到的优化结果可信度更高。
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)原则(当一个线程处于临界段中时,其他所有线程都不能进入临界段)。
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)原则(当一个线程处于临界段中时,其他所有线程都不能进入临界段)。
应用推荐