public AtomicDictionary(IEqualityComparer <string> comparer)
 {
     items = new ConcurrentDictionary <string, TVal>(comparer);
     locks = new ConcurrentDictionary <string, object>(comparer);
 }
 public AtomicDictionary()
 {
     items = new ConcurrentDictionary <string, TVal>();
     locks = new ConcurrentDictionary <string, object>();
 }