Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

the moment a process starts

Name: Anonymous 2012-02-28 21:19

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: Anonymous 2012-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.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List