J
Jack
How does dotnet handles thread safety of Collections ?
I derived some classes from CollectionBase and DictionaryBase, and created
some typed Add, Remove methods to call typeless based Add, Remove methods.
Do I have to handle the locking myself ?
If one thread gets the IEnumerator, and iterate it. What happens when
another thread wanna add things to the collection ?
Thanks
Jack
I derived some classes from CollectionBase and DictionaryBase, and created
some typed Add, Remove methods to call typeless based Add, Remove methods.
Do I have to handle the locking myself ?
If one thread gets the IEnumerator, and iterate it. What happens when
another thread wanna add things to the collection ?
Thanks
Jack