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

hi friends....this is the answer as per my knowledge....

every body are saying in all the ways.....nobody have thought
or tried to think on what conditions this question do
apply.....is that three threads are running at server side
or client side....or in a stand alone system.......this is
not the matter of usage of resources all here matters is how
the user is using the systemand his requirements......if he
wants his system to perform very fastly and number of tasks
in a single shot then the concept of threads comes into
picture which automatically increases the speed....and its
obvious of using the resources.....so answer to questions
differ according to the application or the conditions
apply.............

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can one thread run on multiple cores?

428


How many goroutines are in a thread?

446


What is a thread in email?

423


How many threads can one core handle?

441


Can we overload run method of thread?

438






Can we start two threads at a time?

444


Which thread method is called when a thread starts?

424


What is difference between thread and runnable?

449


What is kernel level thread?

433


What is the difference between process and thread in linux?

431


Why context switching is faster in threads?

442


What is difference between processes and threads?

431


Do threads run in parallel?

447


Why are threads used?

440


Do threads share heap?

436