MAX_READ_LOCKS
if (rwlock->state == MAX_READ_LOCKS) {
if (prwlock->state == MAX_READ_LOCKS) {
if (prwlock->state == MAX_READ_LOCKS)