Re: [lock-free] Experimental Read/Write Mutex..

2019-02-16 Thread Dmitry Vyukov
On Sun, Feb 17, 2019 at 12:34 AM Chris M. Thomasson wrote: > > Fwiw, here is a simple benchmark for an older read/write algorithm I invented: > > > https://pastebin.com/raw/xCBHY9qd > > > It should compile fine on MSVC 2017 and GCC with -std=c++17. There is a macro > in the code called CT_TEST_FA

[lock-free] Experimental Read/Write Mutex..

2019-02-16 Thread Chris M. Thomasson
Fwiw, here is a simple benchmark for an older read/write algorithm I invented: https://pastebin.com/raw/xCBHY9qd It should compile fine on MSVC 2017 and GCC with -std=c++17. There is a macro in the code called CT_TEST_FAST_MUTEX. If it is defined then the code will test my algorithm. If not