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


Please Help Members By Posting Answers For Below Questions

Do threads have pids?

415


How many threads can jvm handle?

456


Can python be multithreaded?

434


Can a thread have multiple processes?

450


What is the biggest advantage of implementing threads in user space?

481






Is thread an abstract class?

432


Can we overload run method of thread?

438


Why do we need thread pool?

447


Is python a single thread?

434


Are threads independent?

408


What is kernel level thread?

433


What is pthread in linux?

446


Whats better threading or waxing?

445


How many threads can one core handle?

441


Why are threads expensive?

433