package
6.7.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewBasePool is to create a new BasePool.
NewSpinLock instantiates a spin-lock.

# Constants

CLOSED represents that the pool is closed.
DefaultCleanIntervalTime is the interval time to clean up goroutines.
OPENED represents that the pool is opened.

# Variables

ErrPoolClosed will be returned when submitting task to a closed pool.
ErrPoolOverload will be returned when the pool is full and no workers available.
ErrProducerClosed will be returned when the producer is closed.

# Structs

BasePool is base class of pool.