Help me understand the following forks

In reply to Narendra Sharma:

Correct me, if I am wrong.

You are wrong, I’m correcting you. :)

The process starting order is a race condition with both code snippets. The processes spawned by a fork/join_none gets queued and does not start executing until the parent process blocks or terminates. In this particular example that is not shown, so each iteration of the forever loop spawns two processes and gets into an infinite loop spawning more processes.