Hello...
Look at this Asymmetric rw_mutex with atomic-free fast-path for readers
by Dmitry Vyukov:
https://groups.google.com/forum/#!topic/lock-free/Hv3GUlccYTc
My Asymmetric Distributed Reader-Writer Mutex and its implementation
doesn't use epoch detection logic, and it doesn't use any atomic
operations and/or StoreLoad style memory barriers on the reader side,
and it uses a distributed technic, and it is FIFO fair on the writer
side and FIFO fair on the Reader side , and it is of course
Starvation-free, so it is suitable for realtime critical systems, and
the simplicity of use by users of the implementation of this my
new algorithm makes it more suitable that the much harder approach of RCU.
You can download my new and extended C++ synchronization objects library
from:
https://sites.google.com/site/aminer68/c-synchronization-objects-library
Thank you,
Amine Moulay Ramdane.