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 / sumant kulkarni
I really feel, using threads in this situation is wastage of
resources. Using a single process would be the right choice.
This avoids context switching between threads.
| Is This Answer Correct ? | 34 Yes | 4 No |
Post New Answer View All Answers
Are goroutines thread safe?
Why do we need thread pool?
What are the two types of threads?
Can a process have 0 threads?
Is creating a thread expensive?
is there a command line shortcut to the login directory
Does linux have threads?
What does 4 cores and 4 threads mean?
Are threads as good as cores?
Is threading harmful?
Do threads share page table?
What are the benefits of multithreading?
Do threads share registers?
How do I see threads in linux?
What is difference between processes and threads?