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 / sh
Question is not about advantages of threads over process,
it's explicitly sayed sequential execution so though t1
blocks for unknown time T2 will be executed only after T1
so there is no point in going for 3 threads over having a
single process, but if was not the above case then it's
highly recommended to have three threads,
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why is hyperthreading turned off?
How many threads can one core handle?
Are goroutines threads?
Can two threads share the same stack?
How do I check my cpu threads?
Do threads run in parallel?
Why are threads used?
What is a thread os?
Can hyper threading hurt performance?
How do you create a thread?
What is thread and process?
What are the disadvantages of threading?
Is face threading bad?
Whats better threading or waxing?
What is kernel level thread?