Chapter 4 Process and Threads

Comienza Ya. Es Gratis
ó regístrate con tu dirección de correo electrónico
Chapter 4 Process and Threads por Mind Map: Chapter 4 Process and Threads

1. OS Management of Application Execution - Resource are made available to multiple applications.

2. Suspended Process 1. New 2. Ready 3. Running 4. Blocked ( if necessary) 5. Suspend : A process that has been swapped out of main memory and back to Ready Step. 6. Exit.

3. Processes and Threads - A thread or lightweight process. - Multithreading : Ability of OS to support multiple task , concurrent paths of execution within a single process.

3.1. Single Threaded Approaches - The concept of a thread is not recognized. - Example : MS-DOS.

3.2. Multithread Approaches - A system of one process with multiple threads. - Example : Java run-time.

4. Operation System Control Structure - Four different type tables maintained : 1. Memory Tables 2. I/O Tables 3. File Tables 4. Process Tables

5. Process - Define as a program in execution and active entity with a program counter specifying the next instruction to be executed. - A program which is passive entity such as contents of a fill store on disk.

5.1. Process Control Block - Contains the process element. - Crated and managed by OS.

5.2. Process State - Trace : List the sequence of instruction that execute for process. - Dispatch : small program switches process from one to another.

6. Two-State Process Model - A process may be in one of two states which is Running or Not-running.

7. Process Creation - Occurs when a new process added to currently being managed process. - Process spawning : when the OS creates a process at the explicit request of another process. - Parent process : the original , creating, process. - Child process : the new process.

8. Five-State Process Model 1. New : A process is created 2. Ready : A process prepared to be executed when given chance. 3. Running : A process that being executed. 4. Blocked : Necessarily when a process cannot execute until some event occurs such as I/O completion and back to the Ready step. 5. Exit : A process that has finished its execution.

9. Process Termination - A means or process to indicate its completion.