Currently in pid==0 section, sleeping for 5 seconds 0 1 ===============WAIT SUB================= One moment, I just gotta finish this bit... ===============END WAIT SUB================= 2 ===============WAIT SUB================= One moment, I just gotta finish this bit... ===============END WAIT SUB================= 3 4 ===============TEST1 SUB================= Sleeping for 3 seconds In sub test1 0 1 2 ===============END TEST1 SUB================= ===============TEST2 SUB================= Sleeping for 3 secs In sub Test2 Not done yet gotta sleep for another 15 seconds then we can quit 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 DONE WITH ALL CODE PROGRAM SHOULD NOW EXIT ===============END TEST2 SUB=================