Dictionary cache thread safety
In a message list screen, each cell downloads its profile image asynchronously and caches it in a [String: UIImage] dictionary. With several threads reading and writing at once, it crashes now and then. Why does it crash?