Steps to fork()
  • Caller backs up stack and heap using COW

  • Caller creates callee thread and blocks

  • Callee runs until it calls exec()

  • Callee unblocks caller before jumping

  • Caller restores original stack and heap

Prev   Next
UNIX on Mungi :: fork() :: Steps to fork()
39