Software Solution 2 (incomplete)
Local process is i, other is j.
Progress - bad. If both executed the second line before any of them entering the while statement, we have a problem.
Bounded time - irrelevant.
Shared flag: array [0..1] of boolean=[false, false];
while flag[ j ] do no-op;