Currently it's possible to cause various types of exceptions caused by race conditions, for example by updating two collections from different threads. Methods such as IDatabase.GetXYZ and every single public method offered by IReadOnlyCollection implementations shall be thread-safe and internally guard against concurrent access by using a ReaderWriterLock.
Currently it's possible to cause various types of exceptions caused by race conditions, for example by updating two collections from different threads. Methods such as
IDatabase.GetXYZand every single public method offered byIReadOnlyCollectionimplementations shall be thread-safe and internally guard against concurrent access by using a ReaderWriterLock.