In Peterson's solution, the ____ variable indicates if a process

分类: OS 发布时间: 2023-11-15 03:41 浏览量: 1

In Peterson's solution, the ____ variable indicates if a process is ready to enter its critical section.

A.turn

B.lock

C.flag[i]

D.turn[i]

正确答案是C