• ↑↓ pour naviguer
  • pour ouvrir
  • pour sélectionner
  • ⌘ ⌥ ↵ pour ouvrir dans un panneau
  • ←→ pour naviguer
  • esc pour rejeter
⌘ '
raccourcis clavier

Process is a program in execution

But, why does this concept exist.

  • like any program lying on disk isnt process, process is the one which is getting executed after getting its resources allocated or getting memory by operating system. cpu is executing the instruction inside that program in mips.
Parts of process
  • program code- text section where the code is written.
  • program counter- in which the address of next instruction is stored.
  • CPU registers- the fastest memory inside the CPU.
  • stack - memory following LIFO used for storing the function calls, local variables, recursion.
  • heap- used for fdynamic memory allocation.
  • data section- stores data variables, (global and static vars)