
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:00d101c6f9d7$8a44b000$6607a8c0@pdimov2...
Peter Dimov wrote:
Anthony Williams wrote:
"Peter Dimov" <pdimov@mmltd.net> writes:
Peter Dimov wrote:
Howard Hinnant wrote:
[...]
Your last algorithm also suffers from it, not as much, though:
[...]
This is probably very much OS/kernel/CPU/workload specific, though. Your algorithm definitely holds its own in all realistic scenarios.
I just remembered that Joe Seigh posted a couple of 'ad-hoc' rw-mutex implementations over on c.p.t; back when I was SenderX... Joe was using them for something to compare his atomic_ptr proxy collector... Here is the link: http://groups.google.com/group/comp.programming.threads/browse_frm/thread/b5... It might be worth taking a look, and possibly including it your test application(s)...