
21 Apr
2008
21 Apr
'08
3:20 p.m.
Anthony Williams:
shared_mutex is not designed for this scenario, since you have high contention. shared_mutex is designed for infrequent updates.
On second look, yes, you are right, the test is indeed pathological. I tested a few other read/write mutex implementations I have lying around and all have various amounts of trouble with it.