InterviewSolution
Saved Bookmarks
| 1. |
What Is Synchronized() Block In Objective C? What Is The Use Of That? |
|
Answer» The @SYNCHRONIZED()directive locks a section of CODE for use by a SINGLE thread. Other threads are BLOCKED until the thread exits the protected code. The @synchronized()directive locks a section of code for use by a single thread. Other threads are blocked until the thread exits the protected code. |
|