Suppose we have three threads T1, T2 and T3 which perform sequentially one after another is their any benefit of using thread over here rather than having a single process?

Submitted by: Administrator
here T1, T2 and T3 as a thread consumes less memory and
more speed

but as a process it consumes more memory.


Multiple threads can be run within a single memory

but process needs seperate memory allocations for each
Submitted by: Administrator

Read Online Linux Threads Job Interview Questions And Answers