- You should first create a sub-directory under your home directory.
The name should be os1 and put the exercise in that directory.
- deadline: 3/19, 00:01am
program 1, code , output
program 2, code , output
program 3, code , output
Description of exercise:
Write a program which will create a process tree such as :
root
/ \
1 4
/ \
2 3
and print the messages in in-order. Your output should like
I am 12300 with seq 2, and my parent is 12299
I am 12299 with seq 1, and my parent is 12298
I am 12301 with seq 3, and my parent is 12299
I am root, 12298
I am 12302 with seq 4, and my parent is 12298