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

What is the function of the category?

1 Answers  


How does dispatch_once manages to run only once?

1 Answers  


What is toll-free bridging?

1 Answers  


What is gcd objective c?

1 Answers  


What do you mean by @synthesize and @dynamic in the objective-c?

1 Answers  


What is atomic property?

1 Answers  


List out the methods used in nsurl connection?

1 Answers  


What is nsarray objective c?

1 Answers  


Is apple stopping supporting objective c?

1 Answers  


What optional binding?

1 Answers  


Why we use synthesize in objective c?

1 Answers  


How to print string in objective c?

1 Answers  


Categories