4 ms·Why was the child process still in the loop forking though?by tus88 7y agoWhy was the child process still in the loop forking though?2sk21 7y agoWhen you do a fork in a loop, the child process wakes up in the same loop.tus88 7y agoYes, but the way you write child processes is to check the return of fork() and then break out of whatever the parent was doing and go into a child function.