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's the difference between a thread safe and a thread unsafe function?



What's the difference between a thread safe and a thread unsafe function?..

Answer / Payal Tandon

A thread-safe function is designed to be called concurrently by multiple threads without causing data inconsistencies or other unintended behaviors. It typically uses synchronization mechanisms like locks, mutexes, or atomic operations. A thread-unsafe function can lead to race conditions and data corruption when accessed by multiple threads at the same time.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What optional binding?

1 Answers  


What is the class of a constant string?

1 Answers  


How do you write an objective summary?

1 Answers  


What is difference between datasource and delegate?

1 Answers  


What is difference between method and constructor?

1 Answers  


How is string represented in objective-c?

1 Answers  


What is an objective statement?

1 Answers  


What are nsautoreleasepool? When to use them?

1 Answers  


How does dispatch_once manages to run only once?

1 Answers  


What is the purpose of the protocol?

1 Answers  


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

1 Answers  


What do you mean by dot notation?

1 Answers  


Categories