func NewPool() *Pool {
	return &Pool{
		tasks:  make(map[string]*Task),
		queues: make(map[*Queue]bool),
		closed: make(chan struct{}),
	}
}
func NewPool() *Pool {
	return &Pool{
		tasks:  make(map[string]*Task),
		queues: make(map[*Queue]bool),
		closed: make(chan struct{}),
	}
}
func NewPool ( ) * Pool { return & Pool { tasks : make ( map [ string ] * Task ) , queues : make ( map [ * Queue ] bool ) , closed : make ( chan struct { } ) , } }
// NewPool creates and returns a new pool.
NewPool creates and returns a new pool .