摘要:
看过好几遍了,觉得挺实用的,记录备忘一下。1.开启很多个goroutine 之后,等待执行完毕type WaitGroupWrapper struct { sync.WaitGroup}func (w *WaitGroupWrapper) Wrap(cb func()) { w.Add(... 阅读全文
posted @ 2015-03-10 14:54
GZ.Jackey
阅读(623)
评论(0)
推荐(0)
|
GZ.Jackey
学无止境,博采众长。 |