On Thu, Apr 6, 2017 at 11:18 AM, Uli Kunitz <uli.kun...@gmail.com> wrote: > I suggest to give n, _ := runtime.ThreadCreateProfile(nil) a try.
Good point, yes, that should work. Ian > On Thursday, April 6, 2017 at 5:37:55 PM UTC+2, Юрий Шахматов wrote: >> >> Hi all! >> >> Is there any way to count number of OS threads used by Go runtime >> programmatically (ie without using bash with top/ps and others)? >> >> -- >> Best regards, Yuri > > -- > 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. -- 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.