Process It is a term with multiple uses, which appear in very diverse contexts. In the field of computing , the concept refers to the execution of various instructions by the microprocessor , according to what a Program .
He OS The computer (computer) is responsible for managing the processes. East software manages the instructions that other computer programs allocate to the microprocessor, analyzes the execution status and organizes the memory dedicated to the tasks.
The operating system takes care of create and delete processes and to establish communications between them. The way of management, however, depends on the way of working of each particular operating system.
There are several ways to create a computer process, such as own system startup , a user's request or the call made by another process. As for the completion of a process, it can be specified in a normal way, from a error or at the request of another process.
A computer process, on the other hand, can go through different state . It can be running (when you are using the microprocessor), locked (its execution requires another event to be performed) or ready (when you release the microprocessor so it can engage in another process).
It is possible to distinguish between different types of processes. The cooperative processes , for example, are managed by various configurations of hardware . The distributed processes Instead, they are distributed among several elements of a system. There are also the parallel processes , which are characterized by being executed simultaneously.
The termination of a computer process it's the last phase of his lifetime , the previous two being its creation and the execution of instructions. The termination can occur for different reasons, which are manifested through the state that goes through the process at the time of being eliminated:
* normal output : takes place when the process ends at the will of the user, something that happens constantly during the normal use of a device. For example, every time a program is closed;
* exit by mistake : it is the opposite case to the previous one, since the termination of the computer process is given by the impossibility of continuing in execution . A common example of this is when the data is insufficient, that is, when a process requires a file that cannot be found at the address provided by the program;
* fatal error : This state usually causes fear to less experienced users, since their way of manifesting is not precisely friendly. his cause it is an error in the program, something that can occur for various reasons, such as trying to write in a part of the memory that is not accessible, or requiring a division by 0;
* removed by another process : Some operating systems show their users messages such as "the program does not respond" in situations in which the program does not seem to be working. The reality is usually very different, since in most cases it happens that he has been "trapped" in a cycle infinite, that is, just the opposite. In these cases, the only resource to terminate the computer process seems to be the help of another, which, depending on the environment, can be executed through the press of a button or instructions written in the command window.
To get a performance Optimum of a computer, one of the fundamental points is to know the computer processes that the operating system executes by default and distinguish those that are really useful for us, in order to stop the rest and avoid unnecessary use of the processor and memory.