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
Are threads cores?
Why are goroutines not lightweight threads?
Explain each system calls used for process management in linux.
What is context switching between threads?
Can hyper threading hurt performance?
Do threads share variables?
How many threads run at once?
What does threads mean when downloading?
Can a thread have multiple processes?
Is c++ multithreaded?
What do cores and threads do?
Can python be multithreaded?
Are processes faster than threads?
Why do we need multithreading?
What are the two methods to create threads?