From 6da608206c222c280078264f02135ffaa4e1aa26 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 8 Jan 2016 15:31:09 +0000 Subject: 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 --- src/runtime/testdata/testprog/misc.go | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/runtime/testdata/testprog/misc.go (limited to 'src/runtime/testdata') 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()) -} -- cgit v1.3-5-g9baa