Re: [go-nuts] go 1.13.1 (linux x64): time.After not working as expected

2019-10-14 Thread Steven Hartland
Your not checking done in your for loop. On 14/10/2019 13:39, Jeff Kayser wrote: I'm working through the most excellent book "Concurrency in Go", doing the example on page 162-166.  My code is here: https://play.golang.org/p/7kokkAIdhov The program is not triggering the timeout section of the

[go-nuts] go 1.13.1 (linux x64): time.After not working as expected

2019-10-14 Thread Jeff Kayser
I'm working through the most excellent book "Concurrency in Go", doing the example on page 162-166. My code is here: https://play.golang.org/p/7kokkAIdhov The program is not triggering the timeout section of the code (lines 103-103 in the playground code). All of the other examples have worke