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

Does linux have threads?

920


Do threads share variables?

954


How many threads can one core handle?

939


What are threads in c?

878


Why are goroutines not lightweight threads?

871


Does hair grow back thicker after threading?

843


Why are threads used?

951


How many threads does an i7 8700k have?

807


Are cpu threads important?

932


What is kernel level thread?

871


What are the process states in linux?

869


Can we start two threads at a time?

884


Can a thread have multiple processes?

874


Can hyper threading hurt performance?

841


Are threads processes?

887