Q1. Describe the various benefits of Thread.
Ans. The benefits of Thread are as follow:
(i) With thread we add new element. The ability for the parallel entities to share a address space and all of its data among themselves.
(ii) Threads are easier to create and destroy than process because threads do not have any resources attached to them.
(iii) Threads yield no performance gain when all of them are CPU bound, but when there is substantial computing and also substantial input/output, having threads allows these activities to overlap, thus spreading up the application.
(iv) Finally, threads are useful in system with multiple CPU’s, where real parallelism is possible.