Great, thanks for that clarification.

On Tuesday, December 1, 2020 at 4:51:11 PM UTC-4 Jan Mercl wrote:

> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/41cac76b-8058-4f9d-b988-c6dfd15bf049n%40googlegroups.com.

Reply via email to