Term
The concept of processes ? |
|
Definition
process is a job IN execution process occupies main memory |
|
|
Term
|
Definition
1. running - using CPU 2. blocked or (waiting) - in i/o 3. ready - waiting on CPU assignment 4. terminated - done |
|
|
Term
fill out a state transition diagram |
|
Definition
|
|
Term
|
Definition
multiprogramming is a technique that loads many jobs in the main memory that will run concurrently |
|
|
Term
How a OS manages processes ? |
|
Definition
process table - snapshot of all processes - holds: pc value - address for next instruction pointers base and limit - legal range a program can visit register values -
PCB - Process control block contains: process state program counter cpu registers memory management i/o status info |
|
|
Term
what is a context switch ? |
|
Definition
system switches to another process, saves state of old process in PCB, loads saved state of new process |
|
|
Term
Unix process creation and termination function calls ? |
|
Definition
unix uses fork() system call to generate a new process, and uses exec() call to replace the process's memory space with a new program
exit() to terminate |
|
|
Term
Win32 process creation / termination function calls ? |
|
Definition
createProcess() TerminateProcess() |
|
|
Term
What is the shared-memory/msg concept ? |
|
Definition
one process produces the data, another consumes it. p1 writes, p2 reads
msg system - one process generates message and calls OS to pass message on |
|
|
Term
|
Definition
the interface of an RMI server and client must extend REMOTE interface
purpose of command "rmic" - compiles server object & generates server code
command that starts registry: startrmiregistry
in unix: rmi registry |
|
|