On Tue, Jun 30, 2020 at 9:36 AM Durga Someswararao G
<
durgasomes...@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?