Say 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.
Answer Posted / sandeep patra
we use threads for sharing the CPU parallely between
multiple executable entities. now if T1, T2 and T3 are going
to perform sequentially one after another then its better to
have a single process as we are not achieving the
parallelism here.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
How many threads does a core i7 have?
What are the disadvantages of threading?
Why are threads expensive?
Why is hyperthreading turned off?
How many threads can a cpu run?
Are goroutines thread safe?
Why do we need thread pool?
Do threads get their own pid?
What is user level and kernel level thread?
What are threads cpu?
What are processes and threads?
Do threads run in parallel?
What is a thread in c?
Can a process have 0 threads?
What are concurrent threads?