func (p *pool) connect() error {
	if !atomic.CompareAndSwapInt32(&p.connected, disconnected, connected) {
		return ErrPoolConnected
	}
	p.conns.initialize()
	return nil
}
// connect puts the pool into the connected state, allowing it to be used and will allow items to begin being processed from the wait queue
connect puts the pool into the connected state, allowing it to be used and will allow items to begin being processed from the wait queue
// connect puts the pool into the connected state allowing it to be used and will allow items to begin being processed from the wait queue
func (p *pool) connect() error {
	if !atomic.CompareAndSwapInt32(&p.connected, disconnected, connected) {
		return ErrPoolConnected
	}
	p.conns.initialize()
	return nil
}
func ( p * pool ) connect ( ) error { if ! atomic . CompareAndSwapInt32 ( & p . connected , disconnected , connected ) { return ErrPoolConnected } p . conns . initialize ( ) return nil }
connect puts the pool into the connected state, allowing it to be used and will allow items to begin being processed from the wait queue
connect puts the pool into the connected state allowing it to be used and will allow items to begin being processed from the wait queue