Reklama

The process handle

System data, used by the kernel during the lifetime of the process, be the process handle. The process descriptor is reserved by the kernel during the formation process and released at its completion.

The process is an abstraction, describing the program running. OS is a unit of work, the application for the consumption of system resources.

The state of the process: The origin, readiness, execution, waiting, readiness (completion)

 The process handle, handle is the descriptor (ID) process, which contains the process number, a memory, contains the segment code, the data prioritization process, data on the status of the process. Each process descriptor contains a reference to another descriptor.

Context – stores the state of the registers, the program counter, the mode of operation of the processor, pending I / o, information about executed system calls.

Data structure, in which information is stored, necessary for the transaction over the process is called PCB – Process Control Block – the control unit processes. The information in PCB is divided into 2 part:

1.      Register the context processor

2.      The system processor context

In addition to information PCB is used to characterize the internal work process, its code and data, address space - the user context of the process.

Reklama