Open rqpt opened 7 months ago
tldr - This behaviour is something that has been addressed in the latest go release.
I am currently reading this book (excellent btw), and am coding along until I get to the '...and we're back' section of the concurrency chapter.
I ran this example and my tests pass just fine.
I then set out to investigate why, as this should fail according to the chapter, and this video cleared things up for me - https://www.youtube.com/watch?v=Smc-6qfZ2JU
Good spot! Do you fancy making a PR?
I'll give it a shot, sure! I'll try and tackle it this weekend.
tldr - This behaviour is something that has been addressed in the latest go release.
I am currently reading this book (excellent btw), and am coding along until I get to the '...and we're back' section of the concurrency chapter.
I ran this example and my tests pass just fine.
I then set out to investigate why, as this should fail according to the chapter, and this video cleared things up for me - https://www.youtube.com/watch?v=Smc-6qfZ2JU