Fix forking
1. When forking, don't repond to a pause request in the parent after the child has already responded 2. use waitpid() instead of wait() because wait can race with other wait() calls in the program
Please register or sign in to comment
1. When forking, don't repond to a pause request in the parent after the child has already responded 2. use waitpid() instead of wait() because wait can race with other wait() calls in the program