Enumeration of List<T> needs lock for thread safety.