Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh, is that how MINIX did that? AIUI, the original UNIX could only hold one process in memory at a time, so its fork() would dump the process's current working space to disk, then rename it with a new PID, and return to the user space — essentially, the parent process literally turned into the child process. That's also where the misconception "after fork(), the child gets to run before the parent" comes from.
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: