Basically its a question taken form an exam . They are asking to draw the process Tree regards to the question below. I hope someone would like to help and explain me how to track it
- a) the output of the code above--> The picture I have given below
- b) who is the first process to print caught signal
- c)who is the first process to print is ready
- d) what will happen if we will delete signal function in main()
- e)what will happen if we will delete sleep(2)
this is the answer to A which also i don't understand .