My use case is that I am designing a scheduler that schedules various health checks (go method) periodically. Earlier I want to model run them in a new goroutine. But I ran into problems when I want to design timeout for each method. Basically go seems not able to kill goroutine and clean up resources like socket etc.
I am wondering rather than run method in goroutine, can I run it in subprocess so I can kill it safely? My platform is windows hope that doesn't matter. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
