Hi,

I'm facing an issue that looks like a deadlock, but that I can't 
actually figure out. After some investigation I can reproduce a similar 
problem with the following code:

https://go.dev/play/p/ZB05nweJJX_9

Running the example above as-is will show the expected output, but after 
uncommenting the time.Sleep inside the goroutine (so it executes after 
the "Select") then everything locks out.

Is there a way to avoid this behaviour?

Thank you,

C

-- 
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/0102017ffa78e37e-93f4150a-f8be-4891-ab39-24d3b1941ebb-000000%40eu-west-1.amazonses.com.

Reply via email to