Answer Posted / Ashish Gotra
To make a code snippet thread-safe, use locks such as @synchronized(), NSConditionLock, or NSLock. Another approach is using Grand Central Dispatch (GCD) operations and data structures like dispatch queues and semaphores.
| 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