mirror of
https://github.com/golang/go
synced 2024-11-24 00:50:10 -07:00
fac8202c3f
[Repeat of CL 18343 with build fixes.] Before, NumGoroutine counted system goroutines and Stack (usually) didn't show them, which was inconsistent and confusing. To resolve which way they should be consistent, it seems like package main import "runtime" func main() { println(runtime.NumGoroutine()) } should print 1 regardless of internal runtime details. Make it so. Fixes #11706. Change-Id: If26749fec06aa0ff84311f7941b88d140552e81d Reviewed-on: https://go-review.googlesource.com/18432 Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Russ Cox <rsc@golang.org> |
||
---|---|---|
.. | ||
gcc68255 | ||
issue8828 | ||
issue9026 | ||
issue9400 | ||
issue9510a | ||
issue9510b | ||
align.go | ||
api.go | ||
backdoor.go | ||
basic.go | ||
buildid_linux.go | ||
callback_c_gc.c | ||
callback_c_gccgo.c | ||
callback_c.c | ||
callback.go | ||
cflags.go | ||
cgo_linux_test.go | ||
cgo_test.go | ||
cgo_unix_test.go | ||
cthread_unix.c | ||
cthread_windows.c | ||
cthread.go | ||
duplicate_symbol.go | ||
env.go | ||
exports.go | ||
fpvar.go | ||
gcc68255.go | ||
helpers.go | ||
issue1222.go | ||
issue1328.go | ||
issue1560.go | ||
issue1635.go | ||
issue2462.go | ||
issue3250.go | ||
issue3250w.go | ||
issue3261.go | ||
issue3729.go | ||
issue3729w.go | ||
issue3741.go | ||
issue3775.go | ||
issue3945.go | ||
issue4029.c | ||
issue4029.go | ||
issue4029w.go | ||
issue4054a.go | ||
issue4054b.go | ||
issue4273.c | ||
issue4273b.c | ||
issue4339.c | ||
issue4339.go | ||
issue4339.h | ||
issue4417.go | ||
issue4857.go | ||
issue5227.go | ||
issue5242.go | ||
issue5337.go | ||
issue5337w.go | ||
issue5548_c.c | ||
issue5548.go | ||
issue5603.go | ||
issue5740.go | ||
issue5740a.c | ||
issue5740b.c | ||
issue5986.go | ||
issue6128.go | ||
issue6390.go | ||
issue6472.go | ||
issue6506.go | ||
issue6612.go | ||
issue6833_c.c | ||
issue6833.go | ||
issue6997_linux.c | ||
issue6997_linux.go | ||
issue7234_test.go | ||
issue7560.go | ||
issue7665.go | ||
issue7786.go | ||
issue7978.go | ||
issue8092.go | ||
issue8148.go | ||
issue8331.h | ||
issue8331a.go | ||
issue8331b.go | ||
issue8428.go | ||
issue8441.go | ||
issue8517_windows.c | ||
issue8517_windows.go | ||
issue8517.go | ||
issue8694.go | ||
issue8811.c | ||
issue8811.go | ||
issue8828.go | ||
issue8945.go | ||
issue9026.go | ||
issue9400_linux.go | ||
issue9510.go | ||
issue9557.go | ||
issue10303.go | ||
issue11925.go | ||
issue12030.go | ||
issue13402.go | ||
setgid_linux.go | ||
sigaltstack.go | ||
sigprocmask_linux.c | ||
sigprocmask_linux.go | ||
sleep_windows_386.go |