Next: Bank Queue
Up: Dividing the Pie
Previous: Dividing the Pie
- Rewrite the program discussed in section 5.2.3 to read
n from standard input, so that the broadcast operation
actually makes sense.
- Make only the console process read standard input, then broadcast
the number to other processes as shown in section 5.2.3.
- Input the number in the PBS script using the here input
feature of the shell.