Chapter 4 : Process and Threads

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

1. Process

1.1. Fundamental to the structure of operating systems

1.2. Can be defined as :

1.2.1. a program in execution

1.2.2. an instance of a running program

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

1.2.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 Control Block

2.1. Contains the process elements

2.2. Created and managed by the operating system

2.3. Key tool that allows support for multiple processes

2.4. It is possible to interrupt a running process.

3. Processes

3.1. The unit of resource allocation and a unit of protection

3.2. A virtual address space that holds the process image

3.3. Protected access to :

3.3.1. processors

3.3.2. other processes

3.3.3. files

3.3.4. I/O resources

4. Operating System Control Structures

4.1. OS constructs & maintains tables of information about each entity that it is managing

4.2. Four types of tables maintained by OS

4.2.1. Memory tables

4.2.2. IO Tables

4.2.3. File Tables

4.2.4. Process Tables

4.3. OS have information about the current status of each process & resource

5. Processes and Threads

5.1. Resource Ownership

5.2. Scheduling / Execution

6. Process States

6.1. Two-state process model

6.2. Creation and termination

6.3. Five-state model

6.4. Suspended processes

6.5. Trace

6.6. Dispatcher

7. Process Elements

7.1. Program code

7.2. A set of data associated with that code