N/APosted on - 11/14/2014
In computer papers and books, I often come across terms such as parent process or a child process. Is there any advantage in learning what these two processes do? How can I use my knowledge of these two processes to make my coding work more effective or profitable in the long run?
What are Parent and Child Processes?
Basically, a process is a computer program or its instance which is currently under execution. A process may contain multiple threads. The parent process is a process that can create one or more number of child processes. A child process is a process that was created by parent process. These child processes can be created by spawning technique or fork() system call. These processes are used in multitasking operating system in which multiple processes execute simultaneously. In programming, a single process will be with main program, and all child processes works as asynchronous subroutines.