C++/ReaderWriterLock: Add the comparision with posix mutex and rwlock