Linux Threads Question: Download Linux Threads PDF

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?

Tweet Share WhatsApp

Answer:

here T1, T2 and T3 as a thread consumes less memory and
more speed

but as a process it consumes more memory.

Example:

Multiple threads can be run within a single memory
allocations.

but process needs seperate memory allocations for each
process.

Download Linux Threads PDF Read All 12 Linux Threads Questions
Previous QuestionNext Question
How to recover the linux system after it was crashed?What is the use of thread over process?