Alamofire / AlamofireImage

AlamofireImage is an image component library for Alamofire
MIT License
3.99k stars 523 forks source link

Useless concurrent attribute for synchronizationQueue in AutoPurgingImageCache #442

Closed 97mik closed 3 years ago

97mik commented 3 years ago

Why all calls of synchronizationQueue in AutoPurgingImageCache used barrier flag?

jshier commented 3 years ago

It's a typical many readers, on writer approach to thread safety. In a future version it'll all be removed and switched over to locks / actors, so it's not something we're looking to change at this point.