📜  关键部分 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:44.990000             🧑  作者: Mango

代码示例1
The critical section is a code segment where the shared
variables can be accessed. 
An atomic action is required in a critical section 
i.e. only one process can execute in its critical 
section at a time. All the other processes have to wait
to execute in their critical sections.