نظم تشغيل الحاسبات

الفصل ٢: Processes (1-b)

شريحة ١ من ١٠

Process Concept

An operating system executes a variety of programs: jobs in a batch system, and user programs / tasks in a time-shared system (the terms job and process are used almost interchangeably).

A process is a program in execution; its execution must progress in a sequential fashion.

A process includes:

  • Program counter (the next instruction to execute)
  • Stack (temporary data such as function parameters and local variables)
  • Data section (global variables)