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