In goc2p/src/multiproc/apipe/apipe.go demo02 generates defunct process
hankai17 opened this issue · 1 comments
hankai17 commented
func main() {
demo1()
fmt.Println()
demo2()
}
reproducing
func main() {
//demo1()
fmt.Println()
demo2()
time.Sleep(time.Seconds * 10)
}
Just sleep 10s. Meanwhile you can run ps -ef
. You can see [ps] <defunct>