Cool stuff!
On Wed, Jul 27, 2022 at 3:46 PM Brian Candler wrote:
> I see. There's a concrete benefit in using the waitgroup though: it would
> have shown you the second write blocking.
> https://go.dev/play/p/WNHRkkUUZUt
>
> On Wednesday, 27 July 2022 at 10:43:01 UTC+1 aravind...@gmail.com wrote
I see. There's a concrete benefit in using the waitgroup though: it would
have shown you the second write blocking.
https://go.dev/play/p/WNHRkkUUZUt
On Wednesday, 27 July 2022 at 10:43:01 UTC+1 aravind...@gmail.com wrote:
> Thanks Brian, Got it.
> "A send cannot take place until the reader is r
Thanks Brian, Got it.
"A send cannot take place until the reader is ready to receive." . So an
unbuffered channel does not have the same behaviour as a buffered channel
of size 1, fair.
I understand part about the waitGroup, I copy pasted code used to tutor the
newcomers to programming itself.
On