[zeromq-dev] spin lock versus mutex

Steven McCoy steven.mccoy at miru.hk
Sat Mar 27 23:26:09 CET 2010


On 28 March 2010 00:47, Jon Dyte <jon at totient.co.uk> wrote:
>
>
> Some one translated the Tokyo Cabinet author's blog where he compared
> various locks,
> though there he was mainly interested against performance of rwlocks.
>
> http://tokyocabinetwiki.pbworks.com/43_BenchmarkingVariousLocksPartOne
>
> just in case anyone is interested.....

The rwlocks in Linux were recently re-implemented (again) for this
reason, they now are slower but more fair between reader and writer.
Last time was 2008,

http://lkml.org/lkml/2008/8/17/14

Start of recent revisit,

http://lkml.org/lkml/2009/11/23/225

-- 
Steve-o



More information about the zeromq-dev mailing list