Process and Threads

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

1. Process

1.1. Fundamental to the structure of operating systems

1.1.1. a program in execution

1.1.2. an instance of a running program

1.1.3. the entity that can be assigned to, and executed on, a processor

1.1.4. a unit of activity characterized by a single sequential thread of execution, a current state, and an associated set of system resources

2. Process Elements

2.1. Program code

2.2. A set of data associated with that code

2.3. 8 Process Elements

2.3.1. identifier

2.3.2. state

2.3.3. priority

2.3.4. program counter

2.3.5. memory pointer

2.3.6. context data

2.3.7. I/O status information

2.3.8. accounting information

2.4. Process Control Block

2.4.1. Key tool that allows support for multiple processes

3. Process States

3.1. Trace

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

3.1.2. the behavior of the processor can be characterized by showing how the traces of the various processes are interleaved

3.2. Dispatcher

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

4. Two-State Process Model

4.1. Running

4.2. Not-Running

5. Process Creation

5.1. Occurs when a new process is to be added to those currently being managed processes.

5.2. Reason

5.2.1. New batch job

5.2.2. Interactive logon

5.2.3. Created by OS to provide services

5.2.4. Spawned by existing process

5.3. Process Spawning

5.4. Parent Process

5.5. Child Process

6. Five-State Process Model

6.1. New

6.2. Ready

6.3. Running

6.4. Blocked

6.5. Exit

7. Suspended Process

7.1. Reason

7.1.1. Swapping when none of the processes in main memory is in the Ready state, the OS swaps one of the blocked processes out on to disk into a suspend queue

7.1.2. Other OS Reason

7.1.3. Interactive User Request

7.1.4. Timing

7.1.5. Parent Process Request

8. Processes and Threads

8.1. Resource Ownership

8.2. Scheduling/Execution

8.3. unit of dispatching

8.3.1. Thread

8.3.2. Lightweight-Process

8.4. unit of resource ownership

8.4.1. Process

8.4.2. Task

8.5. Multithreading

8.5.1. The ability of an OS to support multiple, concurrent paths of execution within a single process

8.6. Process

8.6.1. unit of resource allocation

8.6.2. unit of protection

8.6.3. A virtual address space that holds the process image

8.6.4. Protected Access to processors other processes files I/O resources

9. Benefits of Threads

9.1. Takes less time to create a new thread

9.2. Less time to terminate a thread

9.3. Switching between two threads takes less time

9.4. Threads enhance efficiency in communication between programs

10. OS Control Structures

10.1. The OS constructs and maintains tables of information about each entity that it is managing.

10.2. Types of Tables maintained by OS

10.2.1. Memory Table

10.2.2. I/O Tables

10.2.3. Files Tables

10.2.4. Process Tables