> run.sh example_fork2
Child A executing...
Child A forked: 2
A 0...
Child B forked: 2
Child B forked: 3
Child C forked: 4
Child C forked: 2
Child C forked: 5
Waiting for 2...
Child C forked: 3
Waiting for 2...
Waiting for 2...
Waiting for 2...
Waiting for 2...
Waiting for 2...
Waiting for 4...
Waiting for 2...
Waiting for 3...
Waiting for 3...
Child A done!
Waiting for 3...
Waiting for 5...
