InterviewSolution
| 1. |
What is thread in OS? |
|
Answer» Thread is a path of execution that is composed of a program counter, thread ID, stack, and set of registers within the PROCESS. It is a basic unit of CPU utilization that makes COMMUNICATION more effective and efficient, enables utilization of multiprocessor architectures to a greater scale and greater efficiency, and reduces the TIME required in context switching. It simply provides a way to improve and increase the performance of applications through PARALLELISM. Threads are sometimes called lightweight processes because they have their own stack but can access shared data. |
|