ReaderWriterLockSlim implements single writer, or requires single writer?
-
22-07-2019 - |
Question
I think I am having a brain fart.
This sould be a very simple question: does ReaderWriterLockSlim IMPLEMENT the single writer concept, or does it REQUIRE a single writer thread?
Solution
It ensures that protected resource can have either one writer thread or multiple reader threads. So it implements the single writer concept.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow