If a read lock has given out INT_MAX permits, another thread trying to acquire it will spin to prevent issues due to an overflow in the permit counter.
If a read lock has given out INT_MAX permits, another thread trying to
acquire it will spin to prevent issues due to an overflow in the permit
counter.

grahamedgecombe/arc,grahamedgecombe/arc,grahamedgecombe/arc