Effective Objective-C 2.0: Item 41: Prefer Dispatch Queues to Locks for Synchronization
SometimesinObjective-C,youwillcomeacrosscodethatyou’rehavingtroublewithbecauseit’sbeingaccessedfrommultiplethreads.Thissituationusuallycallsfortheapplicationofsomesortofsynchronizationthroughtheuseofl