Sam Njoroge

Sam Njoroge (carsor007)

Linux engineer/Software Developer

Dallas, TX, Planet Earth (32.7833333,-96.8 - UTC-05)

Process Posterity

  • A child process,
  • spawned with fork,
  • terminated with exit;
  • status determined with wait.
  • Post-execution,
  • child metadata lingers,
  • remaining in the process table,
  • until its status is known.
  • In this state of limbo,
  • the child is a zombie,
  • if its parent dies,
  • the child is an orphan.
  • init, pid==1,
  • is a foster parent;On the
  • adopting orphaned processes,
  • their ppid becomes 1.
  • init is a reaper,
  • freeing process table slots;
  • calling wait periodically,
  • may its zombies R.I.P.
Post by Avatar Sam Njoroge on
comments powered by Disqus