]> Cypherpunks repositories - gostls13.git/commit
runtime: make NumGoroutines faster
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 17 Jul 2014 17:51:03 +0000 (21:51 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 17 Jul 2014 17:51:03 +0000 (21:51 +0400)
commit92c1e720401e07a97670c92b0ac208da8cc4988c
tree64781ae99b66c8fe00f6199e350cded13edf8fc8
parentdc84eca75eab04ec1a0c454ccf135ee9da10951e
runtime: make NumGoroutines faster
Resolves TODO for not walking all goroutines in NumGoroutines.

LGTM=khr
R=golang-codereviews, khr
CC=golang-codereviews, rsc
https://golang.org/cl/107290044
src/pkg/runtime/proc.c