code: func NewBoundedRWLock(capacity int) *BoundedRWLock {
  	return &BoundedRWLock{
  		waiters: make(chan *rwwait, capacity),
  		control: &sync.Mutex{},
  	}
  }
docs: // Create a new BoundedRWLock with the given capacity.
  //
  // RLocks or WLocks beyond this capacity will fail fast with an error.