Process and Threads

Get Started. It's Free
or sign up with your email address
Process and Threads by Mind Map: Process and Threads

1. Process Creation

1.1. Reasons

1.1.1. New Batch Job

1.1.2. Interactuve logon

1.1.3. Created by OS to provide a service

1.1.4. Spawned by existing process

1.2. Process spawning

1.3. Parent process

1.4. Child process

2. Suspended Processes

2.1. Reasons

2.1.1. Swapping

2.1.1.1. involves moving part of all of a process from main memory to disk

2.1.2. Timing

2.1.3. Parent process request

2.1.4. Other OS reason

3. Processes and Threads

3.1. Single Threaded Approaches

3.2. Multithreaded Approaches

4. Operating System Control Structures

4.1. types of tables

4.1.1. Memory tables

4.1.2. IO Tables

4.1.3. File Tables

4.1.4. Process Tables

5. Process Elements

5.1. Program code

5.1.1. which may be shared with other processes that are executing the same program

5.2. A set of data associated with that code

5.2.1. when the processor begins to execute the program code, we refer to this executing entity as a process

5.3. identifier ,state priority, program counter, memory pointers, context data, I/O status information, accounting information

5.4. Process Control Block

5.4.1. Contains the process elements

5.4.2. Created and managed by the operating system

5.4.3. Key tool that allows support for multiple processes

6. Process States

6.1. Trace

6.1.1. the behavior of an individual process by listing the sequence of instructions that execute for that process

6.2. Dispatcher

6.2.1. small program that switches the processor from one process to another

7. Two-State Process Model

7.1. Running

7.2. Not-Running