See this blog post for more interesting ways to handle goroutine communication and synchronization:
http://nomad.uk.net/articles/interesting-ways-of-using-go-channels.html On Wednesday, 8 August 2018 04:59:48 UTC+1, natea...@gmail.com wrote: > > https://play.golang.org/p/d5n9bYmya3r > > I'm new to the go language and trying to figure out how to sigint a > blocking goroutine. in the playground code I included an infinite for loop > to simulate the blocking. In my real world use the for block would be a > long running file save from an external device. I appreciate any advice or > direction that is given. > > Thanks. > -- 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. For more options, visit https://groups.google.com/d/optout.