My operating systems textbook describes the three components of a process:
- An executable program.
- The associated data needed by the program (variables, work space, buffers, etc.)
- The execution context of the program.
However, the textbook seemingly contradicts itself when discussing the execution context of a program:
The last element is essential. The execution context, or process state, is the internal data by which the OS is able to supervise and control the process. This internal information is separated from the process, because the OS has information not permitted to the process.
The first statement says that the execution context of a program is part of a process. The second statement says that the execution context of a program is separated from the process. So which one is it? Is the execution context of a program part of a process or not? Or am I misinterpreting what the author is saying?