advanced-go-programming-book icon indicating copy to clipboard operation
advanced-go-programming-book copied to clipboard

关于附录A中的"独占CPU导致其它Goroutine饿死"

Open baijinping opened this issue 3 years ago • 0 comments

附录A

里边提到的"独占CPU导致其它Goroutine饿死"问题, 在Go 1.14中已经基本得到解决. 应该补充说明.

Goroutines are now asynchronously preemptible. As a result, loops without function calls no longer potentially deadlock the scheduler or significantly delay garbage collection. This is supported on all platforms except windows/arm, darwin/arm, js/wasm, and plan9/*.

第6章 6.6.1.1

错字 "经过长期的叠代开发" -> "经过长期的迭代开发"

baijinping avatar May 19 '22 02:05 baijinping