Initialize the rwlock in struct pgrp