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...

Should you protect the global data in threads? Why or why
not?

Answer Posted / aravind k r

Global data need to be stored in a common place where each
thread can access it within that program. So it shouldnot
be stored on a particular thread but in the process's
memory where each thread can access it.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in oops?

958


Can an interface inherit a class?

1010


What is advantage of inheritance?

1128


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2189


What is difference between oop and pop?

1102


Why do we use class?

1026


Where You Can Use Interface in your Project

1834


What are oops functions?

961


to find out the minimum of two integer number of two different classes using friend function

2075


What is the fundamental idea of oop?

1081


What are functions in oop?

997


What is data binding in oops?

1024


Why is encapsulation used?

947


Why we use classes in oop?

977


• What are the desirable attributes for memory managment?

2166