aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata/testprog
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-01-08 15:31:09 +0000
committerRuss Cox <rsc@golang.org>2016-01-08 15:31:15 +0000
commit6da608206c222c280078264f02135ffaa4e1aa26 (patch)
tree99bd0b58d508681fbe19c30e0de9427cb725a98b /src/runtime/testdata/testprog
parentc5bafc828126c8fa057e1accaa448583c7ec145f (diff)
downloadgo-6da608206c222c280078264f02135ffaa4e1aa26.tar.xz
Revert "runtime: make NumGoroutine and Stack agree not to include system goroutines"
This reverts commit c5bafc828126c8fa057e1accaa448583c7ec145f. Change-Id: Ie7030c978c6263b9e996d5aa0e490086796df26d Reviewed-on: https://go-review.googlesource.com/18431 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/runtime/testdata/testprog')
-rw-r--r--src/runtime/testdata/testprog/misc.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/runtime/testdata/testprog/misc.go b/src/runtime/testdata/testprog/misc.go
deleted file mode 100644
index 237680fc87..0000000000
--- a/src/runtime/testdata/testprog/misc.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2016 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package main
-
-import "runtime"
-
-func init() {
- register("NumGoroutine", NumGoroutine)
-}
-
-func NumGoroutine() {
- println(runtime.NumGoroutine())
-}