Note 1

  • The output to screen is not ordered since all processes are trying to write to screen simultaneously.
  • It is the operating system which opts for an ordering.
  • If we wish to have an organized output, starting from the first process, we may rewrite our program as in the next example.