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
Do threads have pids?
How many threads can jvm handle?
Can python be multithreaded?
Can a thread have multiple processes?
What is the biggest advantage of implementing threads in user space?
Is thread an abstract class?
Can we overload run method of thread?
Why do we need thread pool?
Is python a single thread?
Are threads independent?
What is kernel level thread?
What is pthread in linux?
Whats better threading or waxing?
How many threads can one core handle?
Why are threads expensive?