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
Does linux have threads?
Do threads share variables?
How many threads can one core handle?
What are threads in c?
Why are goroutines not lightweight threads?
Does hair grow back thicker after threading?
Why are threads used?
How many threads does an i7 8700k have?
Are cpu threads important?
What is kernel level thread?
What are the process states in linux?
Can we start two threads at a time?
Can a thread have multiple processes?
Can hyper threading hurt performance?
Are threads processes?