摘要: https://talks.golang.org/2013/advconc.slide#5 It's easy to go, but how to stop? Long-lived programs need to clean up. Let's look at how to write progr 阅读全文
posted @ 2019-12-25 19:15 papering 阅读(306) 评论(0) 推荐(0) 编辑
摘要: https://go.dev/blog/pipelines Go Concurrency Patterns: Pipelines and cancellation Sameer Ajmani13 March 2014 Introduction Go's concurrency primitives 阅读全文
posted @ 2019-12-25 17:41 papering 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 小结: 1、 Background is the root of any Context tree; it is never canceled: 2、 https://blog.golang.org/context Sameer Ajmani29 July 2014 Introduction In 阅读全文
posted @ 2019-12-25 15:47 papering 阅读(323) 评论(0) 推荐(0) 编辑