Week 3 Flashcards
-a program in execution; process execution must progress in sequential fashion. No parallel execution of instructions of a single process.
process
(process concept)
-the program code
text section
(process concept)
-containing temporary data
-function parameters, return addresses, local variables
stack
(process concept)
-containing global variables
data section
(process concept)
-containing memory dynamically allocated during run time
heap
(process concept)
-program is this entity stored on disk (executable file); active
passive entity
(process state)
-the process is being created
new
(process state)
-instructions are being executed
running
(process state)
-the process is waiting for some event to occur.
waiting
(process state)
-the process is waiting to be assigned to a processor
ready
(process state)
-the process has finished execution
terminated
(process control block)
-information associated with each process
task control block
(process control block)
-running, waiting, etc.
process state
(process control block)
-location of instruction to next execute.
program counter
(process control block)
-contents of all process-centric registers
CPU registers