processes creation





A process can create several new processes. The creating process is called parent process whereas a new process is called child process of that process. New process can further create a more child processes, thus forming tree structure.

processes creation

processes creation

Here, a child has only one parent and a parent has more Childs. Every process will need certain resource (CPU, time, memory, I/O devices) to accomplish its work. If any processes create any sub-process that sub-process may use the resources from the operating system or parent may partition its resources among its child process.
There are several possible ways of executing when any parent creates the child process like:-
a. Synchronous: – if a process is created from another as a synchronous process then the new process must complete execution before the old one can resume.
b. Asynchronous: – if a new process is created asynchronously, then two processes may run concurrently.



Related posts:

  1. Mutual Exclusion of Processes Mutual exclusion is a mechanism to ensure that only one...
  2. Introduction to Processes in operating system   Early computer system allowed any one program to be...
  3. What is kernel? Kernel: All the operating involving processes are controlled by a...
  4. Process States As the program executes, it generally changes state. A state...
  5. Operating System Structure operating system structure: An operating system might have many structure....