I read in this article that in Java, nested synchronised blocks are allowed. I know that Objective-C’s synchronised blocks look a lot like Java’s. So I wonder: Are nested blocks allowed in Objective-C?
I also have a side question: Is there a practical limit on recursive blocks?
Thank you for your speedy answer!
Yes, they are. From the docs (now retired):
For a discussion of performance with this and other methods of synchronization/locking, see here.