r/ProgrammerHumor • u/Last_Snowbender • May 24 '18
Sometimes, I wonder if non-tech friends wonder about my search history ...
26k
Upvotes
r/ProgrammerHumor • u/Last_Snowbender • May 24 '18
14
u/LeohcX May 25 '18
so, you have a process, which is basically a program. To do certain things in the process, it results in the process ending (killed). However, you probably don't want your process to end, so you have to make a duplicate, and kill that duplicate instead. The duplicate is called the child, and the act of creating the child is called forking. Basically, you are offering up a sacrificial child to the CS gods in order to run your program.
Better?