Add rw mutex init helper