These days one would use context.Context to cancel the 2nd and 3rd place workers. Workers would select on the send including the channel from the cancellable Context.
-- 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.