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?

Answers were Sorted based on User's Feedback



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

Answer / srini

Global datas needs to be protected in threads since threads
share address space with each other.

Is This Answer Correct ?    10 Yes 1 No

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

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

More OOPS Interview Questions

difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


What is abstraction and encapsulation?

0 Answers  


what is oops

4 Answers   NIIT,


WHEN A COPY CONSTER IS CALL ?

4 Answers  


define oops with class and object

5 Answers   HCL, Tech Mahindra,


difference between static and non-static variables?

2 Answers  


Write on signed and unsigned integers and give three (3) examples each

1 Answers  


why destructor is not over loaded?

5 Answers  


Have you ever interfaced with a database?

2 Answers   IBM,


what does exactly the linker do?

1 Answers  


What is Object and Class? What are the differences between them?

5 Answers  


Are polymorphisms mutations?

0 Answers  


Categories