Increment shared lock count before checking if exclusive is requested, avoiding race conditions.
Increment shared lock count before checking if exclusive is requested, avoiding race conditions.



cojen/Tupl