关闭golang协程问题

lixiaoya529 · 2017-05-24 09:56:39 · 6440 次点击
更多评论

通过 chan 和 goroutine 通讯来实现?或者看看 Context 包?

#1

超时是可以实现的,但并不能关掉协程。

#2