What is the use of synchronized() block in objective c?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category