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.
因此,对程序员而言减小临界域是很重要的。
应用推荐