Reputation: 427
I know there are many reader-preferred rwlock, and there are even more aggressive design such as RCU, which are usually considered reader-preferred.
But what if the writers are not much less than the readers? I know a writer-only rwlock will fall back to an exclusive lock, but consider following patterns
I have two questions
Upvotes: 3
Views: 285