What is the specified behaviour of pthread's rwlock when:
- There are readers reading,
- There is a writer waiting on a write lock,
- A read lock is requested
Is the read lock granted or not? If yes, is there a way to prevent the read lock being granted until the writer has been served?