critical sections 双语例句
全部
1·Certain critical sections of the kernel code are locked against preemption.
可以锁定内核代码的关键部分,不允许抢占。
2·Code areas with synchronized access are sometimes called critical sections.
能够进行同步访问的代码块有时称为关键部分。
3·Therefore, it is important for a thread programmer to minimize critical sections.
因此,对程序员而言减小临界域是很重要的。
4·Whenever you write or store data, you must block the access with critical sections.
每当写入或存储数据时,都必须用临界区将访问模块化。
5·You should use separate semaphores to protect different critical sections of a program.
你应该使用不同的信号来保护程序的不同的临界区。
6·Similar to semaphores are critical sections, which are sections of code that cannot be interrupted.
类似于同步信号的是“临界区域”,它是程序码中不可中断的部分。
7·Race conditions are only an issue where interrupts and/or preemption are possible and where critical sections exist.
竞争状态仅仅有一种情况下产生,在此处中断或(和)优先抢占是充许的并且有一个临界区存在。
8·For really critical sections of your code, you might consider adding some functional tests as a safety net before you start refactoring.
对于代码中真正关键的部分,可能需要在进行重构之前添加一些功能测试作为一种安全保障。
9·The class library uses critical sections internally to protect global data structures, such as those used by the debug memory allocation.
类别程式库在内部使用关键区段来保护全域资料结构,例如侦错记忆体配置所使用的资料结构。
10·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 提供了互斥函数来创建临界区,用于实施单线程对对象(一块内存)的独占访问。
