Reputation: 13978
@Syncronized(nodeMode.neighborNodeListeners) //neighborNodeListeners is NSMutalble array
Lets say I set neighborNodeListeners as
@property(retain) NSMutableArray *neighborNodeListeners
Do I still need the Syncronized block? "neighborNodeListeners" will be accessed by multiple threads
Upvotes: 0
Views: 418