Documentation ¶
Overview ¶
Package waitgroup sync.WaitGroup extension
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WaitGroup ¶
WaitGroup 在 sync.WaitGroup 的基础上, 新增线程控制功能
func NewWaitGroup ¶
NewWaitGroup returns a pointer to a new `WaitGroup` object. parallel 为最大并发数, 0 代表无限制
Click to show internal directories.
Click to hide internal directories.