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?

Was it helpful?

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
scroll top