So the process are arriving correctly, 1, 2, 3, 4....., the process are terminating 4, 3, 2, 1, 0 , -1, -2.... but I need it to stop when it gets to 1 and give error, until another process such as 5 arrives. Some please help how to do this.
urgent help please!
so they arrive 1,2,3,4,5.
How can I make them terminate 1,2,3,4,5 and then print error, until next one arrives? How to do this using my process_arrive & process_terminate functions?