Figure 2 Sample file for 3 processes

Pn - process (P0 is the master)
T  - turn variable
Sn - status
X  - indicates EOF, for visual reference only

P0  P1  P2  T  S1  S2

// actual file listing for intial state

0 0 0 0 0 0 X

//End of File