Create RWLock with default attributes, when attributes is a null pointer
Merge pull request #743 from tambry/DefaultRWLock

Create RWLock with default attributes, when attributes is a null pointer