1. Process Image :
Process image is an executable file required during the execution of any process. It consists of several segments related to the execution of the process.
Following are the contents of the process image –
1. Process Control Block 2. Stack 3. Data 4. Code
1. Multi Thread Process Image :
Multi thread process image is an executable file required during the execution of any thread. It consists of several segments related to the execution of the thread.
Following are the contents of the multi thread process image –
1. Process Control Block 2. Thread Control Block 3. Stack 4. Data 5. Code
Difference between Process Image and Multi Thread Process image :
|PROCESS IMAGE||MULTI THREAD PROCESS IMAGE|
|It is an executable file required during the execution of a process.||It is an executable file required during the execution of a thread.|
|It consists of total four segments.||It consists of 2 segments for each thread and 3 common segments.|
|Creation of process image takes more time.||Creation of single thread image takes less time.|
|Switching between two process images takes more time.||Switching between two thread images takes less time.|
|Different process share different memory and different images.||Common address space in multi thread process image is shared by all threads.|
|It used user address space.||It uses common address space.|
|Communication between process images is difficult.||Communication between two thread images is simple.|
|Single control block is used in process image.||One control block is used for parent process and one each for threads.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between User Level thread and Kernel Level thread
- Difference between Thread.start() and Thread.run() in Java
- Difference between Multi-tasking and Multi-threading
- Relationship between User level thread and Kernel level thread
- Difference between Process and Thread
- Difference between Process and Kernel Thread
- Difference between Process and User Level Thread
- Difference between Thread Context Switch and Process Context Switch
- Process-based and Thread-based Multitasking
- Multi Threading Models in Process Management
- Difference between Virtual Private Network (VPN) and Multi-Protocol Label Switching (MPLS)
- Difference between Single User and Multi User Database Systems
- Difference between Multi Level Queue (MLQ) Scheduling and Round Robin (RR) algorithms
- Difference between Multi Level Queue Scheduling (MLQ) and First Come First Served (FCFS)
- Difference between Multi Level Queue Scheduling (MLQ) and Shortest Job First
- Difference between Multi Level Queue Scheduling (MLQ) and Priority Scheduling
- Difference between Multi Level Queue Scheduling (MLQ) and Longest Job First (LJF)
- Difference between Multilevel Queue (MLQ) and Multi Level Feedback Queue (MLFQ) CPU scheduling algorithms
- Differences between Point-to-Point and Multi-point Communication
- Difference between Real Image and Virtual Image
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.