diff --git a/g/os/grpool/grpool.go b/g/os/grpool/grpool.go index 675e15193..9add6fe8b 100644 --- a/g/os/grpool/grpool.go +++ b/g/os/grpool/grpool.go @@ -14,11 +14,10 @@ import ( // Goroutine Pool type Pool struct { - limit int // Max goroutine count limit. - count *gtype.Int // Current running goroutine count. - list *glist.List // Job list for asynchronous job adding purpose. - closed *gtype.Bool // Is pool closed or not. - workers chan struct{} // Goroutine workers using channel to implements blocking feature. + limit int // Max goroutine count limit. + count *gtype.Int // Current running goroutine count. + list *glist.List // Job list for asynchronous job adding purpose. + closed *gtype.Bool // Is pool closed or not. } // Default goroutine pool.