On Tue, Dec 1, 2020 at 9:05 PM nc <
nche...@gmail.com> wrote:
> I just wanted to know if there was a way to tell that the goroutines c1, c2 actually are hung. Could I in my head add the sentences "While the program terminates, that is only because the main goroutine has finished its execution. One of the sending goroutines will still be waiting to send its value to its output channel when this happens." to the end of the paragraph that says "In our example pipeline, if a stage fails to consume all the inbound values, the goroutines attempting to send those values will block indefinitely:"?
When main exits the process is terminated so no goroutines exist so
it's not meaningful to say if they are hung or not.