A critical section is an object used to make sure, that some part of the code is executed only by one thread at a time.
临界区用来确保代码的某些部分同一时间只能由一个线程执行。
A critical region is any section of code that must be completely executed by any kernel control path that enters it before another kernel control path can enter it.
当内核正在执行处于临界区内的代码的时候,在该内核控制路径没有执行完临界区的代码之前,任何其它内核控制路径不能进入该临界区。
A critical region is any section of code that must be completely executed by any kernel control path that enters it before another kernel control path can enter it.
当内核正在执行处于临界区内的代码的时候,在该内核控制路径没有执行完临界区的代码之前,任何其它内核控制路径不能进入该临界区。
应用推荐