Has anyone seen a process start? I hear it's quite beautiful like seeing a super nova up close. Has anyone in /prog/ witnessed this momentous occasion?
Name:
Anonymous2012-02-28 22:26
It's not that cute, since a process begins from a fork() syscall. It actually begins as a clone of the father process.
The magic happens when that child process is transformed by a exec() syscall. That's where GOD blesses the new cell and it starts reproducing with its own path to a process image. Then the process goes to the ready queue to be engulfed and chewed by the almighty INTEL processor.