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 / alka
thread is faster than process b'coz switching betwn threads
is easier & faster.
3 threads can divide work together...ex: input,
output,operation etc.
it shares memory within process.
| Is This Answer Correct ? | 5 Yes | 13 No |
Post New Answer View All Answers
What do cores and threads mean?
Whats the difference between a thread and a process?
What are processes and threads?
Does hyperthreading reduce performance?
What are kernel threads?
Are pthreads kernel threads?
Do threads share variables?
What are server threads?
Is face threading bad?
Why are goroutines not lightweight threads?
Which thread method is called when a thread starts?
What are the disadvantages of threading?
Is threading harmful?
Do threads share memory?
Do threads get their own pid?