A goroutine cannot be programmatically killed. It can only commit a cooperative suicide.
-j
Is there a way to cause a goroutine to stop? Imagine I'm a supervisor goroutine and I know about a bunch of worker goroutines. I decide that one of them is out of control and I want to kill it. Can I do that?
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.