Yes in class methods self is the Class object, so the Class is used as the locking token:
> The object passed to the @synchronized directive is a unique identifier used to distinguish the protected block
> The object passed to the @synchronized directive is a unique identifier used to distinguish the protected block
No comments yet.