In this assignment, you're to sort by creating processes.
- one parent and two child,
- parent is responsible for creating the numbers (by any means; random generator, reading from a file http://siber.cankaya.edu.tr/OperatingSystems/cfiles/unsorted.txt unsorted.txt), ...),
- after generating, put to an array, creating first child,
- the first child should create the second one,
- each child should sort the half of the array.
- use the sorting algorithm you used in the previous assignment,
- do the error checking whenever it is necessary (if array is allocated or if child are created or if file is opened successfully, etc.),
- make sure that parent does not exit before child complete.
Cem Ozdogan
2010-03-18