Does anyone know of an implementation of a lock free hash table in C#? Or can anyone confirm for a fact that at least reads on a HashTable are thread-safe?
Edit:
I can read the documentation, but it's unclear.
"It is thread safe for multi-thread use when only one of the threads perform write (update) operations."
So, the question is, if I have multiple threads, and they all could write to the hashtable, I would use the writerlock. However, those same threads also read from the hashtable. Do I need a readerlock on the reads?