fork() is weird
Posted on May 27, 2016
Update 2019: Coursera killed every course permalink. ??? I was working through lecture 59 of the UW hardware software interface course and got interested in the origin of the fork-exec model for process management. In case you didn't know, fork is a way of creating a process in Unix-like systems. I have known this for a long time. I never really thought about how it works, though. It turns out, what it does is create a 'copy' (optimized to copy-on-write later on) of the existing program and returns the new process...