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

here T1, T2 and T3 as a thread consumes less memory and
more speed

but as a process it consumes more memory.

Example:

Multiple threads can be run within a single memory
allocations.

but process needs seperate memory allocations for each
process.

Is This Answer Correct ?    4 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between thread and runnable?

929


What are processes and threads?

948


How many goroutines are in a thread?

851


Are processes faster than threads?

838


How do cpu threads work?

1016


how will you distinguish if it is a process or a thread, provided you know pid in linux operating system?

837


What is user level and kernel level thread?

860


Is face threading safe?

883


What does 4 cores and 4 threads mean?

848


Why do we use thread in sleep?

827


Can hyper threading hurt performance?

836


Can a thread have multiple processes?

871


Does linux have threads?

913


Do threads count as cores?

947


What do cores and threads mean?

898