Introduction To Process
In Introduction To Process we understand deeply the process. So, the process is the instance of a computer program that is being executed by one or many threads. It means that process is a part of computer program and inside the computer program there are many threads. The process combine are multiple threads. Thread mean it is the light weight process. In the operating system, a process is something that is currently execution. Process is also called as job, task or unit of work. An active program can be called a process.
Example
- When you want to search something on web then you start a browser. So, this is a process.
Program
Program itself is not a process. A program is a passive entity while the process is an active entity. A program becomes a process when an executable file is loaded into memory. Therefore, two techniques for loading executable file.
i) Double clicking an icon representing the executable file.
ii) Entering the name of executable file on the command line.
Components of Process
It include the current activity, as represented by the value of the program counter and the contents of the processor’s register. A process includes process stack, which contains temporary data and a data section which contains global variable. A process is also includes a heap, which is a memory that is dynamically allocated during process run time.
