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 does @synchronized() do?



What does @synchronized() do?..

Answer / Ravindra Kumar Verma

@synchronized() is a preprocessor directive used to lock access to a critical section of code in Objective-C. This ensures that only one thread can execute the synchronized block at a time, preventing race conditions and ensuring concurrent thread safety.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Will objective c be deprecated?

1 Answers  


Is objective c difficult?

1 Answers  


Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?

1 Answers  


What is umbrella header?

1 Answers  


Which language does apple use?

1 Answers  


What is the principle distinction between the function calls and messages?

1 Answers  


What can objective c be used for?

1 Answers  


What is struct in objective c?

1 Answers  


How dispatch_once runs only once?

1 Answers  


What is objective c used for?

1 Answers  


What is category in objective c?

1 Answers  


What is a .m file?

1 Answers  


Categories