12 ms·
> ConcurrentHashMap may be thread safe but putting non atomic Integers in there still leaves you vulnerable to threading problems Yes, thread-safety is hard in
by badgar 14y ago
> ConcurrentHashMap may be thread safe but putting non atomic Integers in there still leaves you vulnerable to threading problems
Yes, thread-safety is hard in these languages. You have to think about code when you write it.