Peterson Solution

In IP 6.5 Peterson’s Solution I have few doubt.
If two processes are running parallel p0 indexed as i and p1 indexed as j.
then

  1. Where we are setting once turn set to 1 we are not setting it to 0.
  2. flag[j] is not getting true.

Please explain