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. What is a process?

1.1. Background

1.1.1. program in execution

1.1.2. instance of a running program

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

1.1.4. single sequential thread of execution, current, and an associated set of system resources

1.2. Processes and process control blocks

1.2.1. process elements identifier state priority program counter memory pointers context data I/O status information accounting information

2. Process states

2.1. Two-state process model

2.1.1. running

2.1.2. not-running

2.2. Creation and termination

2.2.1. creation new batch job interactive logon created by OS to provide a service spawned by existing process

2.2.2. termination normal completion time limit exceeded memory unavailable bounds violation protection error arithmetic error time overrun I/O failure invalid instruction privileged instruction data misuse operator or OS intervention parent termination parent request

2.3. Five-state model

2.4. suspended processes

2.4.1. swapping

2.4.2. other OS reason

2.4.3. Interactive user request

2.4.4. timing

2.4.5. parent process request

2.5. trace

2.5.1. listing the instructions that execute for that process

2.5.2. showing how the traces of the various processes are interleaved

2.6. dispatcher

2.6.1. switches the processor from one process to another

3. Processes and threads

3.1. processes

3.1.1. virtual address space

3.1.2. protected access to processors, other process, files and I/O resources

3.1.3. suspension and termination

3.2. threads

3.2.1. execution state

3.2.2. save context

3.2.3. an execution stack

3.2.4. some pre-thread static storage

3.2.5. access to the memory and resources of its process, shared with other threads of the process

4. Operating system control structures

4.1. manage processes and resources

4.2. OS constructs and maintains tables of information

4.3. types of tables maintained by the OS

4.3.1. Memory tables

4.3.2. IO tables

4.3.3. File tables

4.3.4. process tables