My implementation of a C++ reentrant_rw_lock