Definition |
An executable file is required during the execution of a process |
An executable file is required during the execution of a thread |
Segments |
Consists of a total of four segments |
Consists of two segments for each thread and three common segments |
Creation Time |
Creation of process image takes more time |
Creation of a single thread image takes less time |
Switching Time |
Switching between two process images takes more time |
Switching between two thread images takes less time |
Memory Sharing |
Different processes share different memories and different images |
Common address space in a multi-thread process image is shared by all threads |
Address Space |
Uses user address space |
Uses a common address space |
Communication Difficulty |
Communication between process images is difficult |
Communication between two thread images is simple |
Control Blocks |
Uses a single control block for the process image |
One control block is used for the parent process, and one each for the threads |