Hi, how do we terminate the go generated internal OS threads. I am debugging an issue , where RES(memory resdent size) size of. a process increases as goroutines used increases. Iam trying to reduce the threads footprint contribution of process RES , hence. terminate the additional threads once go routines are completed.
Is there an explicit call, I can make to terminate these processes. For the OS threads because of C functions calls, I am doing LockOSThread and skipping unlock, so that they terminate as goroutine terminates. I see some discussion of this here: https://github.com/golang/go/issues/14592 but could not find if an explicit call was introduced for application to call terminate. Regards, -- 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/af9a3a75-c381-49c3-be6e-ce21e74a247c%40googlegroups.com.