Why are thread safe collections so hard?

added by DotNetKicks
1/30/2015 3:44:06 PM

2 Kicks, 310 Views

Writing a collection which is mutable, thread safe and usable is an extremely difficult process. At least that’s what you’ve likely been told all through your schooling. But then you get out on the web and see a multitude of thread safe lists, maps and queues. If it’s so hard, why are there so many examples?