diff options
| author | Cherry Zhang <cherryyz@google.com> | 2019-10-04 16:55:52 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2019-10-04 16:55:52 -0400 |
| commit | b0d930577ebe86d0dbd6d3f4bf551a4e4ff1fcde (patch) | |
| tree | c1382943d8874ef6f278b1b49d38b4a5090993a8 /src/runtime/testdata | |
| parent | e63c1df34856fbf61f72fef84f810cf3306ec204 (diff) | |
| parent | c450ace12c657e3953d79975c04f51605395cd50 (diff) | |
| download | go-b0d930577ebe86d0dbd6d3f4bf551a4e4ff1fcde.tar.xz | |
[dev.link] all: merge branch 'master' into dev.link
Weekly merge.
Change-Id: I98c6121f04f347df2788ac5eaf99afad5da4a039
Diffstat (limited to 'src/runtime/testdata')
| -rw-r--r-- | src/runtime/testdata/testprogcgo/numgoroutine.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/testdata/testprogcgo/numgoroutine.go b/src/runtime/testdata/testprogcgo/numgoroutine.go index 12fda49a13..5bdfe52ed4 100644 --- a/src/runtime/testdata/testprogcgo/numgoroutine.go +++ b/src/runtime/testdata/testprogcgo/numgoroutine.go @@ -41,13 +41,6 @@ func NumGoroutine() { // Test that there are just the expected number of goroutines // running. Specifically, test that the spare M's goroutine // doesn't show up. - // - // On non-Windows platforms there's a signal handling thread - // started by os/signal.init in addition to the main - // goroutine. - if runtime.GOOS != "windows" { - baseGoroutines = 1 - } if _, ok := checkNumGoroutine("first", 1+baseGoroutines); !ok { return } |
