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


What is the use of synchronized() block in objective c?



What is the use of synchronized() block in objective c?..

Answer / Sanjay Kumar Choudhary

The synchronized() block in Objective-C provides a way to enforce mutually exclusive access to shared resources, preventing multiple threads from accessing these resources simultaneously. This helps to maintain data consistency and avoid race conditions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Is objective c statically typed?

1 Answers  


What is the difference between polymorphism and abstraction?

1 Answers  


How to reverse array in objective c?

1 Answers  


What is objective c & why it is used for?

1 Answers  


Ns object is a parent class or derived class?

1 Answers  


What is the difference between weak and unowned?

1 Answers  


Can I use objective c in swift?

1 Answers  


How do you get closure?

1 Answers  


What is a category extension?

1 Answers  


When would you use nsarray and nsmutablearray?

1 Answers  


What is a delegate? Can you retain delegates?

1 Answers  


What is property and its types?

1 Answers  


Categories