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

  • 2023-11-15 03:41:00
  • OS

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