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 / guest

Yes there is benefit,If we want to execute fast three
different instructions at same time than multithreading
concept is important and if we wanna that 1 thread execute
and get killed and we again create another for nerxt
instruction in that case we can go for a single threwad.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is face threading safe?

466


What is a thread in c?

433


What is the main disadvantage of user level threads?

430


Which one is better thread class or runnable interface?

426


What is the difference between user level thread and kernel level thread?

435






Do threads share file descriptors?

468


is there a command line shortcut to the login directory

1221


Can python be multithreaded?

434


Why thread is faster than process?

427


Is thread an abstract class?

433


Why are threads expensive?

433


What do cpu threads do?

411


Do threads run in parallel?

447


Are pthreads kernel threads?

388


What is a lightweight thread?

433