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
Which thread method is called when a thread starts?
What are the two types of threads?
Do threads run in parallel?
What is the difference between user level thread and kernel level thread?
How many threads can one core handle?
Are threads faster than processes?
What is pthread in linux?
Can a process have 0 threads?
Are threads as good as cores?
Is multithreading faster than multiprocessing?
how will you distinguish if it is a process or a thread, provided you know pid in linux operating system?
Can we overload run method of thread?
Does thread count matter cpu?
How many threads does an i7 7700k have?
What does threads mean when downloading?