On Tue, Jun 30, 2020 at 9:36 AM Durga Someswararao G <durgasomeswararao...@gmail.com> wrote:
> Is it possible to get goroutine id when we creted? > Is it possible to get goroutines count while we creating? > Is it possible to terminate a goroutine based on ID like if any goroutine has > infinite loops? > Is it possible to clean up memory of variable like we have free in C? The answer to all of the above questions, in the first approximation, is no. Unsafe tricks may help to achieve some of those goals. What's the purpose? Is this a XY problem? -- 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/CAA40n-ULnCkc7hw0c%3DQCTSAvyP3ZO4rXmTEjm5fb6m2QTJC%3Duw%40mail.gmail.com.