# Functions
CPUCore returns the current CPU core.
NewPooledWorkerPool creates a new worker pool.
NewPooledWorkerPoolOptions returns a new PooledWorkerPoolOptions with default options.
NewWorkerPool creates a new worker pool.
NumCores returns the number of cores returned from OS-dependent checkNumCores(), if not available only returns 1.
# Structs
NewPooledWorkerOptions is a set of new instrument worker pool options.
ScheduleResult is the result of scheduling a goroutine in the worker pool.
# Interfaces
PooledWorkerPool provides a pool for goroutines, but unlike WorkerPool, the actual goroutines themselves are re-used.
PooledWorkerPoolOptions is the options for a PooledWorkerPool.
WorkerPool provides a pool for goroutines.
# Type aliases
CoreFn is a function that returns the ID of the CPU currently running this goroutine.
NewPooledWorkerFn returns a pooled worker pool that Init must be called on.
NowFn is a function that returns the current time.
Work is a unit of item to be worked on.