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
What are the advantages of threads?
How many threads can one core handle?
How many goroutines are in a thread?
Are threads processes?
Do threads share heap?
is there a command line shortcut to the login directory
Are goroutines threads?
Can two threads execute at the same time?
How many threads does a core i7 have?
What are the benefits of multithreading?
How many threads run at once?
How do threads work?
What are threads in c?
What is user level and kernel level thread?
What are linux kernel threads?