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 is .h and .m file in xcode?

1 Answers  


Explain what do you mean by synthesized in objective-c?

1 Answers  


Is objective c compiled?

1 Answers  


What is a nsstring?

1 Answers  


List out the methods used in nsurl connection?

1 Answers  


What is kvc and kvo? Give an example of using kvc to set value.

1 Answers  


How the class “implementation” is represented in objective-c?

1 Answers  


What is difference between objective c and c?

1 Answers  


What can objective c be used for?

1 Answers  


What is difference between objective c and swift?

1 Answers  


How is string represented in objective-c?

1 Answers  


What is an instancetype?

1 Answers  


Categories