3 comments

[ 2.7 ms ] story [ 14.2 ms ] thread
This looks quite interesting.

I was looking into implementing something like that (though only R>W) for a caching backend to improve throughput.

I wonder how these locks work with C11 memory model.
I wonder whether it could be made to work with futexes in the blocking case.