1 A pending lock is used to prevent new reader connections during a write, allowing existing readers to finish and eventually draining all readers to zero.
“with the pending lock no new reader connections are allowed you can think of this pinning lock as a way of draining any read connections down to zero”