Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Question is not about advantages of threads over process,
it's explicitly sayed sequential execution so though t1
blocks for unknown time T2 will be executed only after T1
so there is no point in going for 3 threads over having a
single process, but if was not the above case then it's
highly recommended to have three threads,

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of threads?

810


How many threads can one core handle?

828


How many goroutines are in a thread?

760


Are threads processes?

775


Do threads share heap?

801


is there a command line shortcut to the login directory

1712


Are goroutines threads?

736


Can two threads execute at the same time?

755


How many threads does a core i7 have?

820


What are the benefits of multithreading?

762


How many threads run at once?

827


How do threads work?

784


What are threads in c?

762


What is user level and kernel level thread?

760


What are linux kernel threads?

855